Nightly builds on multiple branches

Christian Steiner's Avatar

Christian Steiner

12 Oct, 2018 08:13 AM

Hi Team

While I understand the limitation that nightly builds can only be triggered via the Web-UI, I do not understand how I would setup nightly builds for diffrent branches of the same project via the GUI.

The GUI suggests that it would not be possible.. is this assumption correct? If so, any plans to enable nightly builds for different branches of the same project?

Thanks
Christian

  1. Support Staff 1 Posted by Ilya Finkelshte... on 12 Oct, 2018 07:19 PM

    Ilya Finkelshteyn's Avatar

    Hi Christian,

    I assume that we are talking about scheduled builds. Indeed scheduled build runs against default branch. There are few workarounds though:

    • Create separate AppVeyor project for each build, set up schedule and different default branches. Note that project slug in URL will have random ending, but we recently exposed changing project slug in API (UI is coming) so you can set nice URL for those projects with this script.

    • Start builds against different branches with API. Please check this script (you can skip adding environment variables). This script can be called by schedule against different branches from some service like Azure functions or AWS Lambda. Or just from AppVeyor scheduled build (if all branches can be built the same time).

    Please let us know if any of those workarounds works for you or if you hit some issues implementing them.

    Ilya.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 12 Oct, 2018 07:33 PM

    Ilya Finkelshteyn's Avatar

    And feel free to create a feature request at https://github.com/appveyor/ci/issues.

  3. Ilya Finkelshteyn closed this discussion on 12 Dec, 2018 09:00 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