I am using Role Based Security in Jenkins.
All my jobs are private, require login for every permission, which is good. However, I'm adding a couple of jobs that I would like to expose to the public. I would like anyone to be able to discover and read one specific Jenkins "view" or "job".
So far, I'm unable to get this to work with Role Based Security, as it seems it doesn't have a concept of Anonymous access.
Is what I am trying to achieve possible with Role Based Security? If not, is there an alternative that I can explore that still allows me to keep certain jobs completely private (including read and discovery access), but others public?
Navigate to Groups->New Group from the root Jenkins dashboard. Name the group admin-group-int and click OK to create a group internal to Jenkins for role assignment. Check the Granted checkbox for the admin role, leave Propagates checked, and click Save . Assign admin-group-ext as a member of this internal group.
To remove anonymous read access Right now go to your Jenkins dashboard. Click on Manage Jenkins → Configure Global Security → Remove check Allow anonymous read access.
I figured it out, but it wasn't intuitive, so I will leave the question up and list the steps to take here:
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