Why is AppVeyor no longer setting my environment variables?

andrewarnott's Avatar


06 Oct, 2015 02:01 PM

I haven't changed the build configuration at all, but at least one of my secure environment variables were not set properly for the last couple attempts at building a pull request. Here is one such failure:

Why is the environment variable not being set?

  1. Support Staff 1 Posted by Feodor Fitsner on 06 Oct, 2015 02:06 PM

    Feodor Fitsner's Avatar

    Secure variables are not set during PR builds for security reasons.

    - Feodor

  2. 2 Posted by andrewarnott on 06 Oct, 2015 04:31 PM

    andrewarnott's Avatar

    Ah, that makes sense I guess, since a pull request could have arbitrary code that would expose the environment variable.
    I guess that means pull requests for builds that include Xamarin projects are doomed to always fail. Is there any better way to do this that I may not be considering?

  3. Support Staff 3 Posted by Feodor Fitsner on 06 Oct, 2015 04:40 PM

    Feodor Fitsner's Avatar

    I'm thinking on the approach of making Xamarin activation/deactivation work in PR builds.

  4. andrewarnott closed this discussion on 22 Jan, 2016 02:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac