Skip to main content

Limit Particular Job Running from Particular Branch

This tutorial explains how to limit a particular job running from a particular branch

Assumed Scenario

Job Release should only run from branch master, while other jobs can run from any branch

How to Set Up

For applicable job executors, configure job authorization to include a job and branch criteria like below:

job authorization


For brevity, this example does not take other job authorization criterias into account