-
Notifications
You must be signed in to change notification settings - Fork 585
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
Fix an AppVeyor environment variable being null because it does not exist. #2448
Conversation
Isn't Whatever we decide to do it should be consistent. So either we use |
The problem with The issue is not about We could return |
I understand - I'm taking about changing |
There has not been any activity in this pull request for the last 3 months so it will be closed in 14 days if there is no activity. |
@matthid, any news with this one? |
My points discussed above are still open? |
To clarify: If we decide that |
In AppVeyor, the environment variable is missing. We obviously cannot do something like that here. And we are not even sure whether its behavior is "correct". This was what I had said in their forum:
The discussion has been stale, as well as the GitHub issue I had opened at AppVeyor. I don't think we should be waiting for them. |
I think I slowly understand what you are trying to say. But now it is wrong the other way around: If you are not on AppVeyor the variable will be empty instead of |
Regarding reading that value while not on AppVeyor, it should be assumed that the build script first checks the running build server. If it still does however, these CI-specific values return the dreaded |
Yes, I think I got it now. Thanks for explaining. |
This PR mitigates appveyor/ci#2939.