Rolling builds not very useful

travis's Avatar

travis

12 Nov, 2015 08:48 PM

We tried to use rolling builds to manage a queue of builds, but it resulted in builds we did not want to be cancelled to be cancelled. In a private project, it would cancel all but the latest build regardless of branch. So we would end of with no build for the latest changes in several branches. We would prefer that it cancel duplicate builds per branch.

On a opensource project the problem was similar, here is what the person who manages that project said:

Here is my PR for which the rolling build never worked correctly. Appveyor kept cancelling all my commit builds (even manual)

https://github.com/PowerShell/PSScriptAnalyzer/pull/353

Looks like the rolling build is not very reliable.

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Nov, 2015 11:02 PM

    Feodor Fitsner's Avatar

    OK, do you have a suggestion on how to improve them?

  2. 2 Posted by travis on 12 Nov, 2015 11:45 PM

    travis's Avatar

    Add an option to do basically the same thing but keeping one build per branch (treating a PR on github as a different branch)

    This would save us a few builds, not a lot, but anything that helps...

  3. Support Staff 3 Posted by Feodor Fitsner on 13 Nov, 2015 04:54 AM

    Feodor Fitsner's Avatar

    Well, looking at the implementation of rolling builds... this is actually how they are supposed to work. If you start a new master build all other "master" builds will be cancelled; if you start a new "some_other_branch" build all other "some_other_branch" builds will be cancelled, but not "master" ones. The same for PRs, but PR # is the key there. Do you observe a different behavior?

  4. 4 Posted by mloskot on 23 Sep, 2017 12:22 PM

    mloskot's Avatar

    I think the rolling builds do work as Feodor explained.

  5. 5 Posted by mloskot on 23 Sep, 2017 01:25 PM

    mloskot's Avatar

    The rolling builds work also for pull requests.

    So, I think there is no issue any more.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

22 Oct, 2017 04:20 AM
21 Oct, 2017 07:26 PM
21 Oct, 2017 10:08 AM
21 Oct, 2017 07:59 AM
21 Oct, 2017 01:48 AM