tag:help.appveyor.com,2012-11-13:/discussions/problems/16277-build-fails-on-master-branch-for-unknown-reasonsAppVeyor: Discussion 2018-08-31T23:02:45Ztag:help.appveyor.com,2012-11-13:Comment/459995902018-08-31T19:12:34Z2018-08-31T19:12:34ZBuild fails on master branch for unknown reasons<div><p>It appears you have an encrypted variable (<code>sentry_api_url</code>) which not appearing on the pull request build but then is being used in the <code>install:</code> stage of the build.<br>
One might expect that the lack of that encrypted variable would cause a failure, but in this case it seems that the opposite is happening. Looks like it may be creating some false positive.</p>
<p>You should check the <code>Enable secure variables in Pull Requests from the same repository only</code> in the <strong>General</strong> tab of project settings and try to rebuild the successful build to see if it fails as the regular build did.<br>
Note that if the pull request is from a different repository the variable will still not be present as this option only allows secure variables in pull requests from the <em>same</em> repo.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/459995902018-08-31T19:37:32Z2018-08-31T19:37:33ZBuild fails on master branch for unknown reasons<div><p>That did it, thanks!</p>
<p>Quick explanation in case anyone else finds this: We have a small execution<br>
test to run our GUI apps, and make sure they aren't missing dependencies.<br>
Apparently it's never failed on CI before, because if our sentry URL exists<br>
in the app, it brings up the crash reporter GUI, and of course there's no<br>
one there to hit the send button. I RDP'd in and ran the steps, and the<br>
crash reporter popped up. Took out that test for now, and it finishes the<br>
build, so I know what we need to fix.</p></div>Kyle Machulistag:help.appveyor.com,2012-11-13:Comment/459995902018-08-31T23:02:43Z2018-08-31T23:02:43ZBuild fails on master branch for unknown reasons<div><p>Great, thanks for the explanation!</p></div>Owen McDonnell