Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

anonymous access to jenkins workspaces

Tags:

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?

like image 428
Oli Avatar asked Oct 26 '12 10:10

Oli


1 Answers

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...

like image 156
sdmythos_gr Avatar answered Sep 20 '22 02:09

sdmythos_gr