Vy Suneel
Vy Suneel

Reputation: 97

Restricting others to build the particular job in JENKINS

I am new to jenkins and I have a Project named RetailcloudSolution_automation_cms2_prod but I just want to restrict this job by others doesnt do the build , but others can see , just shouldnt hit the Build for security issue and I want only three people to Build this job for now and also for the future use, Is there anyway I can do this for just this particular JOB...? Can i know the steps to do it..? It should not affect globally, I need restriction just for project based..

Thanks,

Upvotes: 2

Views: 191

Answers (1)

Spencer Bharath
Spencer Bharath

Reputation: 567

I strongly suggest you to use the Role Strategy Plugin in jenkins to manage the Users. With this plugin you manage users based on projects In other words you can make sure that project or job is not runnable by other users.

Refer this link for better understanding and plugin configuration. https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin

Upvotes: 2

Related Questions