Jenkins – anonymous access to jenkins workspaces

Jenkins

I am using Jenkins installed on CentOS release 6.3 and Jenkins 1.474. I am using Project-based Matrix Authorization Strategy so that only users in specific AD groups are allowed to log in to Jenkins and view particular jobs.

However I am trying to give anonymous access to workspaces for jobs so I can do a wget and specify the http URL. This is so the hosts I am managing via Jenkins can get certain hosts.

I have added Anonymous to the Project-based Matrix Authorization Strategy section and ticked workspaces but this isn't working. When doing a wget I can access forbidden and when I put the URL in to a browser, I am asked to login. I have also configured Anonymous to have access to the workspace on the job itself, but still get access forbidden.

Has anyone got any ideas as to why his is not working?

Best Answer

We are using Jenkins version 1.475

We have the following enabled for anonymous access: Overall: Read -> Enabled Job: Read -> Enabled Workspace -> Enabled

This allows access to anonymous users to view the Dashboard and the Jobs and also to the workspace...

Related Topic