0
votes

Is there a way we can control which user can click "Build Now" in Jenkins? Basically we dont want all the users who are logged in Jenkins to trigger a build.

Also is this possible project-wise?

I am relatively new in configuring Jenkins, though I have used Jenkins more as an end user and not an admin, so would really appreciate any helpful inputs. I tried using this : https://wiki.jenkins-ci.org/display/JENKINS/Matrix-based+security and this https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup, but for some reason its still allowing users to trigger a build.

2

2 Answers

0
votes

You can also use RoleStrategyPlugin This will be more helpful to manage large numbers of user using multiple projects.

The details to use and your doubt in the comment is addressed here

0
votes

I am using Matrix Authorization Strategy Plugin, it offers matrix-based security authorization strategies, both global and per-project.

Global scope

http://jenkins_server/configureSecurity/--> Authorization-->Project-based Matrix Authorization Strategy

enter image description here

Project scope

enter image description here