franga2000
franga2000

Reputation: 587

Jenkins: Hide job from anonymous users

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

Answers (1)

Gerold Broser
Gerold Broser

Reputation: 14762

You can specify job names patterns under Manage Jenkins → Manage and Assign Roles → Manage Roles. See also Role Strategy Plugin.

Upvotes: 1

Related Questions