Jenkins Plugin for JIRA | Unable to authenticate

Frédéric Tardieu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2015

Hi all,

We installed Jenkins Plugin for JIRA version 1.5.5 on a JIRA server 6.4.11, and there is a problem: after creating an application link in JIRA to the Jenkins server, by providing the Jenkins server URL, Jenkins builds are not listed and there are the following messages in JIRA server log file:

2015-12-11 12:41:51,955 atlassian-scheduler-quartz1.clustered_Worker-1 ERROR ServiceRunner     [jenkins.services.impl.RestCommunicator] Authentication failure on Jenkins XXX XXX[http://jenkins-xxx-xxx]: Unable to authenticate
2015-12-11 12:41:51,994 atlassian-scheduler-quartz1.clustered_Worker-1 ERROR ServiceRunner     [jenkins.services.impl.DefaultJobService] Skipping job list synchronisation of Jenkins XXX XXX, remote is online but not accessible

These messages appear if basic authentication is set up or not set up... Any idea to make it work?

Thanks,

Fred

1 answer

1 accepted

0 votes
Answer accepted
Frédéric Tardieu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2015

Hi,

The problem was caused by the use of the user password insead of API token at application link configuration.

F.

Rodolfo October 13, 2017

Hi, is this something that you setup in Jenkins or Jira? I'm having the same problem but I can't figure out where to change it to use token instead of user password

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events