🚀  Our new eBook is out – “CI/CD for Monorepos.” Learn how to effectively build, test, and deploy code with monorepos. Download now →

High Priority Branches

Semaphore features a custom build queue algorithm that was designed to make the build flow for a team as pleasant as possible. A developer that pushes frequently won’t be able to “hijack” Semaphore for him or herself. Instead, builds will be shared across the team making everyone happy and productive.

Even though the algorithm serves us well, being mostly invisible, some teams need more control over the build queue. Today we’re introducing high priority branches.

High Priority Branches in Semaphore Continuous Integration Service

With high priority branches you can choose one or more branches that will be scheduled before others. They can be specified with a list of regular expressions. For example:


hotfix-.*
master

will match hotfix-start-build and master as high priority branches.

We recommend setting only one or two branches as high priority since adding more can make the algorithm insignificant.

You’ll find the screen to configure this in your project settings, Branches tab.

High Priority Branches Settings in Semaphore Continuous Integration Service

With high priority branches you will be able to build and deploy important code as soon as possible. We’re working on other improvements in this area, so stay tuned for more.

Happy building!

Have a comment? Join the discussion on the forum