tag:help.appveyor.com,2012-11-13:/discussions/problems/1431-hanging-buildsAppVeyor: Discussion 2018-08-25T01:53:40Ztag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T16:35:07Z2015-01-28T16:35:07ZHanging builds<div><p>Looks like there was build worker communication error. There is
"Re-build commit" button on build details.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T16:58:36Z2015-01-28T16:58:36ZHanging builds<div><p>Okay, thanks. Seems it has a timeout at 30 minutes? Is it
possible to set the timeout value myself? My build is around 2
minutes, and I would like it to fail earlier if it's just
hanging.</p>
<p>That's where that button is, okay. Didn't notice it. Thanks.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:34:13Z2015-01-28T17:34:13ZHanging builds<div><p>Yeah, there is an item for that: <a href=
"https://github.com/appveyor/ci/issues/86">https://github.com/appveyor/ci/issues/86</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:36:02Z2015-01-28T17:36:02ZHanging builds<div><p>Also, how do I avoid building Pull Requests to master (i publish
to NuGet on master), and AppVeyor triggers this build on every PR
to master it seems.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:45:21Z2015-01-28T17:45:21ZHanging builds<div><p>Add "master" to "Except" filter: <a href=
"http://www.appveyor.com/docs/branches">http://www.appveyor.com/docs/branches</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:50:37Z2015-01-28T17:50:37ZHanging builds<div><p>I'm using the flag only:master, but this seems to trigger on PR
to master as well.</p>
<p><a href=
"https://github.com/nrkno/IdentityServer3.Contrib/blob/master/appveyor.yml">
https://github.com/nrkno/IdentityServer3.Contrib/blob/master/appvey...</a></p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:52:11Z2015-01-28T17:52:11ZHanging builds<div><p>I would like it to run a build, but just tests for PRs. No
publish.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T17:59:37Z2015-01-28T17:59:37ZHanging builds<div><p>Well, that's interesting, but valid case. So, basically, there
should be an ability to say <em>I want to allow "push" builds on
"master", but reject PRs to "master"</em>, right?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T19:49:13Z2015-01-28T19:49:13ZHanging builds<div><p>well, yes (I think!). It's pretty bad if someone just issues me
a PR and a NuGet gets created.</p>
<p>I could do the deploys on a "release" branch as well, but then
that wouldn't solve the issue. A PR to the release branch would
also be triggering a deploy.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T20:38:13Z2015-01-28T20:38:13ZHanging builds<div><p>found this setting. Will this help, or is this only for the
internal feeds?</p>
<p>nuget:<br>
disable_publish_on_pr: true</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T20:41:36Z2015-01-28T20:41:36ZHanging builds<div><p>This setting allows pushing NuGet packages to build "Artifacts",
but prevents their publishing to AppVeyor account and project
feeds.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T20:45:48Z2015-01-28T20:45:48ZHanging builds<div><p>ah, ok. So basically the same setting I need for nuget.org! :)
Where do I file my feature request?</p>
<p>Have to remove my publish to nuget step in the meanwhile, so I
don't spam nuget.org with all the awesome PR's i'm going to
get.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T20:48:32Z2015-01-28T20:48:32ZHanging builds<div><p>Sample PR that generates a master build:<br>
<a href=
"https://ci.appveyor.com/project/JohnKorsnes/identityserverv3-contrib/build/0.3.5">
https://ci.appveyor.com/project/JohnKorsnes/identityserverv3-contri...</a></p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-28T20:54:39Z2015-01-28T20:54:39ZHanging builds<div><p>Err. Seems it doesn't do deploys on PR after all (?). It
executed my master-branch build, but skipped the deploy step.</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-29T00:21:07Z2015-01-29T00:21:07ZHanging builds<div><p>Yeah, that's correct. Deployment is off for pull requests. But
isn't it what you want?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359007502015-01-29T01:11:50Z2015-01-29T01:11:50ZHanging builds<div><p>Yes, it is. I was merely confused that there was a build at all.
Couldn't find in the docs where it says that PR won't run what.</p>
<p>So in conclusion: everything works as intended - even if I
didn't specify it!</p>
<p>Lovely product. :)</p></div>johnkorstag:help.appveyor.com,2012-11-13:Comment/359007502015-01-29T01:20:17Z2015-01-29T01:20:17ZHanging builds<div><p>Nice :)</p>
<p>-Feodor</p></div>Feodor Fitsner