1.3.5.1 Gating

Once you have a stable build job you can implement a gated commit process where each commit is automatically tested before it is rejected or merged to your main branch. Such a process makes sure that the main branch remains stable even when there are many developers working on the same project.

Setting up a gated build process can be done in different ways depending on which source code management infrastructure you are using. Here is an example on how to use the Atlassian Bitbucket integration.