Hanging builds

johnkors's Avatar

johnkors

28 Jan, 2015 04:29 PM

No idea why, or no message to why it should. Please advice.

https://ci.appveyor.com/project/JohnKorsnes/identityserverv3-contrib/build/0.3.52-pre

Also, is it possible to trigger a rebuild of the hanging build? Or do I have to git push an empty change. (github)

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Jan, 2015 04:35 PM

    Feodor Fitsner's Avatar

    Looks like there was build worker communication error. There is "Re-build commit" button on build details.

  2. 2 Posted by johnkors on 28 Jan, 2015 04:58 PM

    johnkors's Avatar

    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.

    That's where that button is, okay. Didn't notice it. Thanks.

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Jan, 2015 05:34 PM

    Feodor Fitsner's Avatar

    Yeah, there is an item for that: https://github.com/appveyor/ci/issues/86

  4. 4 Posted by johnkors on 28 Jan, 2015 05:36 PM

    johnkors's Avatar

    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.

  5. Support Staff 5 Posted by Feodor Fitsner on 28 Jan, 2015 05:45 PM

    Feodor Fitsner's Avatar

    Add "master" to "Except" filter: http://www.appveyor.com/docs/branches

  6. 6 Posted by johnkors on 28 Jan, 2015 05:50 PM

    johnkors's Avatar

    I'm using the flag only:master, but this seems to trigger on PR to master as well.

    https://github.com/nrkno/IdentityServer3.Contrib/blob/master/appveyor.yml

  7. 7 Posted by johnkors on 28 Jan, 2015 05:52 PM

    johnkors's Avatar

    I would like it to run a build, but just tests for PRs. No publish.

  8. Support Staff 8 Posted by Feodor Fitsner on 28 Jan, 2015 05:59 PM

    Feodor Fitsner's Avatar

    Well, that's interesting, but valid case. So, basically, there should be an ability to say I want to allow "push" builds on "master", but reject PRs to "master", right?

  9. 9 Posted by johnkors on 28 Jan, 2015 07:49 PM

    johnkors's Avatar

    well, yes (I think!). It's pretty bad if someone just issues me a PR and a NuGet gets created.

    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.

  10. 10 Posted by johnkors on 28 Jan, 2015 08:38 PM

    johnkors's Avatar

    found this setting. Will this help, or is this only for the internal feeds?

    nuget:
      disable_publish_on_pr: true

  11. Support Staff 11 Posted by Feodor Fitsner on 28 Jan, 2015 08:41 PM

    Feodor Fitsner's Avatar

    This setting allows pushing NuGet packages to build "Artifacts", but prevents their publishing to AppVeyor account and project feeds.

  12. 12 Posted by johnkors on 28 Jan, 2015 08:45 PM

    johnkors's Avatar

    ah, ok. So basically the same setting I need for nuget.org! :) Where do I file my feature request?

    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. </irony>

  13. 13 Posted by johnkors on 28 Jan, 2015 08:48 PM

    johnkors's Avatar
  14. 14 Posted by johnkors on 28 Jan, 2015 08:54 PM

    johnkors's Avatar

    Err. Seems it doesn't do deploys on PR after all (?). It executed my master-branch build, but skipped the deploy step.

  15. Support Staff 15 Posted by Feodor Fitsner on 29 Jan, 2015 12:21 AM

    Feodor Fitsner's Avatar

    Yeah, that's correct. Deployment is off for pull requests. But isn't it what you want?

  16. 16 Posted by johnkors on 29 Jan, 2015 01:11 AM

    johnkors's Avatar

    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.

    So in conclusion: everything works as intended - even if I didn't specify it!

    Lovely product. :)

  17. Support Staff 17 Posted by Feodor Fitsner on 29 Jan, 2015 01:20 AM

    Feodor Fitsner's Avatar

    Nice :)

    -Feodor

  18. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.

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

Keyboard shortcuts

Generic

? 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

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM