Hanging builds
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)
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
Support Staff 1 Posted by Feodor Fitsner on 28 Jan, 2015 04:35 PM
Looks like there was build worker communication error. There is "Re-build commit" button on build details.
2 Posted by johnkors on 28 Jan, 2015 04:58 PM
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.
Support Staff 3 Posted by Feodor Fitsner on 28 Jan, 2015 05:34 PM
Yeah, there is an item for that: https://github.com/appveyor/ci/issues/86
4 Posted by johnkors on 28 Jan, 2015 05:36 PM
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.
Support Staff 5 Posted by Feodor Fitsner on 28 Jan, 2015 05:45 PM
Add "master" to "Except" filter: http://www.appveyor.com/docs/branches
6 Posted by johnkors on 28 Jan, 2015 05:50 PM
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 Posted by johnkors on 28 Jan, 2015 05:52 PM
I would like it to run a build, but just tests for PRs. No publish.
Support Staff 8 Posted by Feodor Fitsner on 28 Jan, 2015 05:59 PM
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 Posted by johnkors on 28 Jan, 2015 07:49 PM
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 Posted by johnkors on 28 Jan, 2015 08:38 PM
found this setting. Will this help, or is this only for the internal feeds?
nuget:
disable_publish_on_pr: true
Support Staff 11 Posted by Feodor Fitsner on 28 Jan, 2015 08:41 PM
This setting allows pushing NuGet packages to build "Artifacts", but prevents their publishing to AppVeyor account and project feeds.
12 Posted by johnkors on 28 Jan, 2015 08:45 PM
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 Posted by johnkors on 28 Jan, 2015 08:48 PM
Sample PR that generates a master build:
https://ci.appveyor.com/project/JohnKorsnes/identityserverv3-contrib/build/0.3.5
14 Posted by johnkors on 28 Jan, 2015 08:54 PM
Err. Seems it doesn't do deploys on PR after all (?). It executed my master-branch build, but skipped the deploy step.
Support Staff 15 Posted by Feodor Fitsner on 29 Jan, 2015 12:21 AM
Yeah, that's correct. Deployment is off for pull requests. But isn't it what you want?
16 Posted by johnkors on 29 Jan, 2015 01:11 AM
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. :)
Support Staff 17 Posted by Feodor Fitsner on 29 Jan, 2015 01:20 AM
Nice :)
-Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.