---
title: "How to trigger for multiple branch builds"
canonical: "https://support.appfire.com/space/SUPPORT/152797969/How%20to%20trigger%20for%20multiple%20branch%20builds"
format: markdown
---
> ℹ️ For exemplification purposes, let’s use 5 branches:   
> ℹ️ **master**, **develop**, **test1**, **test2**, **test3**

We need to trigger a build only from two branches: **master**, **develop**

- If we leave the field "Branch Options" with the parameter "Build all" - it will build from all branches.
- If we leave the field "Branch Options" with the parameter "Build from" - master - it will trigger to build.
- Jenkins from the master branch, same with develop.


There are two ways how to limit the trigger to be triggered only from 2 branches:

1. Select “Build from“ and enter branch names separated by white space: `"master develop"`
2. Select “Build RegExp“ and enter regexp based expression: `"master|develop"`