Reputation: 21224
Is there a way to configure a build configuration in a way that it may run only for certain branches. I'm not only talking about automatic triggers, I also want to prevent users from manually triggering a run for other branches.
Upvotes: 1
Views: 1470
Reputation: 403
To prevent users from manually triggering a build, you need to set user permissions. This can be done under Administration > users/groups > group name/username > roles
.
If you want them to only view the project, you can assign the role Project Viewer.
You can also make your own roles with your own set of rules by clicking Administration > roles
.
Upvotes: 0
Reputation: 5418
Under the version control settings for a build configuration you can add branch filters:
Upvotes: 2