tag:help.appveyor.com,2012-11-13:/discussions/questions/27838-nightly-builds-on-multiple-branchesAppVeyor: Discussion 2018-12-12T21:00:36Ztag:help.appveyor.com,2012-11-13:Comment/462468512018-10-12T19:19:57Z2018-10-12T19:19:57ZNightly builds on multiple branches<div><p>Hi Christian,</p>
<p>I assume that we are talking about scheduled builds. Indeed scheduled build runs against default branch. There are few workarounds though:</p>
<ul>
<li>
<p>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 <a href="https://gist.github.com/IlyaFinkelshteyn/8f195010434075074bfa4ee48e3fa347">this</a> script.</p>
</li>
<li>
<p>Start builds against different branches with API. Please check <a href="https://gist.github.com/IlyaFinkelshteyn/89d19593318276e2538040787bc4fce7">this</a> 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).</p>
</li>
</ul>
<p>Please let us know if any of those workarounds works for you or if you hit some issues implementing them.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/462468512018-10-12T19:33:59Z2018-10-12T19:33:59ZNightly builds on multiple branches<div><p>And feel free to create a feature request at <a href="https://github.com/appveyor/ci/issues">https://github.com/appveyor/ci/issues</a>.</p></div>Ilya Finkelshteyn