Jenkins CI on selected branches

I’m using Jenkins CI from GitLab, but I’d only like to trigger the builds for certain branches.
I see no option to do so.
On the other side, in Jenkins, I’ve limited by branch-name (regex), but this shows up in GitLab as a failed connection.
It would be better if I could avoid triggering the Jenkins vs. rejecting the build of a mis-matched branch.

You can just the only keyword i guess. You can use wildcard on branch name.

Sorry - “only” keyword where? I see no such option on the Jenkins CI doc page:


  • joe w.