-
Notifications
You must be signed in to change notification settings - Fork 655
GitVersion.Tool throws exception and returns exit code 0 #2000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Forgot to mention, this is |
Are the environment variables |
The problem is not the missing environment variables but the exit code of 0
after an exception.
…On Mon 6. Jan 2020 at 10:45, Asbjørn Ulsberg ***@***.***> wrote:
Are the environment variables GITVERSION_REMOTE_USERNAME and
GITVERSION_REMOTE_PASSWORD defined as per the documentation
<https://gitversion.net/docs/usage/msbuild-task#my-git-repository-requires-authentication.what-should-i-do>
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2000?email_source=notifications&email_token=ABGGB7RE7ITEDSTTIO4TO53Q4L4SNA5CNFSM4J5SL2QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIE6EEI#issuecomment-571073041>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGGB7ROIVDJMJYVAM7LYXDQ4L4SNANCNFSM4J5SL2QA>
.
|
Ah, so in the absence of these environment variables and the resulting exceptions due to their absence, GitVersion still produces an exit code of |
+1 for the exit code issues. e.g.
|
I think this one was fixed here #2161. Please check the version 5.2.4 and confirm it was fixed. Closing. reopen if still reproducing |
Even though there clearly is an error, the exit code is 0.
The text was updated successfully, but these errors were encountered: