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 projects 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" are available as above. So for example to trigger on all branches in the project you can specify:

You can add more branch patterns by clicking on "Add Branch"

Then you can optionally provide the name of the specific file path(s) to trigger on. E.g. to only trigger builds if the patch set contains files in a certain folder. The same "pattern types" are available as above. If no file paths are added, all files will trigger a build.

So for example to trigger on all files in any folder structure under a sub-folder called java:

You can add more file path patterns by clicking on "Add File path"