Squirrel
Squirrel

Reputation: 1523

Prohibit manual build on specific branch in Jenkins

I wonder if there is any way to prevent manually triggered builds on Master branch in Jenkins. I am using pipelines.

Ideally I would like to allow only a few people or no one (except admins) to manually trigger a build in master.

Upvotes: 0

Views: 474

Answers (1)

rohit thomas
rohit thomas

Reputation: 2312

If you want to prohibit builds on the Job Configuration, use Enable Project-based Security.

https://wiki.jenkins.io/display/JENKINS/Standard+Security+Setup

Upvotes: 1

Related Questions