Authentification with Jenkins-Job is not working
Description
Environment
Jenkins 1.509.2
Jira 5.2.4
Crowd Plugin 2
relates to
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created July 16, 2013 at 4:28 PM
Updated November 2, 2014 at 4:00 PM
Resolved July 17, 2013 at 12:52 PM
Zoom
Hello there,
we authenticate our services with atlassian crowd. So Jira and Jenkins are connected to crowd.
We've installed both, the jira- and the jenkins-plugin in version 1.1.4.
The Configuration works fine using this guide:
https://moss-cave.atlassian.net/wiki/display/JJI/Advanced+Application+Links
But when synchronizing a job only this error is shown in the jenkins-log and the synchronisation is not working.
Jul 16, 2013 4:18:53 PM winstone.Logger logInternal INFO: While serving http://localhost:8090/job/PROJECTNAME/state: org.acegisecurity.AccessDeniedException: Please login to access job PROJECTNAME Jul 16, 2013 4:18:53 PM winstone.Logger logInternal INFO: While serving http://localhost:8090/job/PROJECTNAME/jira/: org.acegisecurity.AccessDeniedException: Please login to access job PROJECTNAME Jul 16, 2013 4:18:53 PM winstone.Logger logInternal INFO: While serving http://localhost:8090/job/PROJECTNAME/api/json: org.acegisecurity.AccessDeniedException: Please login to access job PROJECTNAME
Don't know why using the localhost-address.
In both Systems every user must be logged in. When giving the anonymous user the read-permission, the jobs are synchronized.
We've configured the jenkins-admin for authentication, which has enough rights for the connection. But your plugin is using the anonymous-account.
At the outgoing-configuration-page we have also tested the API-Token and the normal password.
What can I do now? How do I know, why he is using the anonymous-Account?
Thanks for your help,
Thomas