Reputation: 587
I have a Jenkins server that builds all of my public projects, but also some of my private ones. I'd like to allow all users (even anonymous) to view and download all of my public projects but i don't want them to be able to access my private ones.
I'm using matrix-based security and I gave anonymous global view and discover permissions but I can't find a way to revoke those permissions for private projects.
Is there a way to do this (maybe a plugin) or will I have to revoke all permissions globally and grant them on each public project manually?
Upvotes: 4
Views: 5544
Reputation: 14762
You can specify job names patterns under Manage Jenkins → Manage and Assign Roles → Manage Roles. See also Role Strategy Plugin.
Upvotes: 1