Scheduled build just on a particular branch

andreas.r.maier's Avatar

andreas.r.maier

16 Mar, 2020 11:05 AM

Hi,
is it possible to configure a regularly scheduled build for just one particular (GitHub) branch, and to leave all other branches triggered by pushes / PRs on these branches?

Motivation for this request is that in order to save resources, we don't want to run the complete set of envs on every branch, so the branch-triggered runs are configured for only a small subset of supported environments. The complete set of environments should also be tested every now and then, but does not need to be tested on every branch-based trigger, and also not on every branch. We have a branch that has all the environments enabled in its appveyor.yml file, and the commands in that appveyor.yml file rebase that branch on the latest master before the tests are run. So the only missing piece is the possibilty to configure a regular scheduled build of just this branch. (We are doing that this way on Travis already).

Thanks,
Andy

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Mar, 2020 09:34 PM

    Feodor Fitsner's Avatar

    Hi Andy,

    Yes, it's possible to create a separate project for the same repository with "Default branch" set to the branch you need to run on schedule, configured schedule and "Push" and "PR" builds disabled.

    Let me know if that works for you.

  2. Feodor Fitsner closed this discussion on 17 May, 2020 09:02 PM.

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