Specify what Gerrit project(s) to trigger a build on. At least one project and branch pattern needs to be specified for a build to be triggered, and you can specify as many gerrit project to trigger on as you want.
Start by specifying the name of the Gerrit project in the left hand text field. You can specify the name pattern in three different ways, as provided by the "Type" drop-down menu.
Then provide the name of the branch(es) to trigger on. The same "pattern types" is available as above.
So for example to trigger on all branches in the project you can specify:
Type: Path
Pattern: **
You can add more branch patterns by clicking on "Add Branch"