So i'm able to freely add users on to Jenkins. However, it seems that for some reason, i can't limit permissions for these users.
Currently, any added user can see any Jenkins job and trigger ANY of these jobs/tasks.
I couldn't find any documentation nor anything in "Manager Users" nor Credentials tab on Jenkins for how to restrict certain jobs to certain users.
is this even possible?
Ofcourse It is possible.
Install this plugin - Matrix Authorization Strategy Plugin
Manage Jenkins --> Configure global Security --> Enable 'Project-based Matrix Authorization Strategy'
Now by default admin will have access to all the jobs.
If you want someone to have access to specific job, go to the job details page & Enable 'Enable project-based security'. add the user & give appropriate access.
All other users - can view jobs for which they have been given access.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With