Jenkins: Connector Error status_code 403
search cancel

Jenkins: Connector Error status_code 403

book

Article ID: 112438

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

Error in log:
*****************************************************************************************************************************

CA Agile Central BuildConnector for Jenkins version 1.1.3 starting at: 2018-08-29 11:51:53 Z with pid: 3420 
curdir: H:\JenkinConnector
command: python ac_build_connector sample.yml

******************************************************************************************************************************

[2018-08-29 11:52:20 Z] INFO: JenkinsConnection.connect - Connecting to Jenkins
[2018-08-29 11:52:22 Z] FATAL: JenkinsConnection._getJenkinsVersion(148) - <ConfigurationError> <title>Jenkins</title> status_code: 403
[2018-08-29 11:52:23 Z] ERROR: BuildConnectorRunner.run - <title>Jenkins</title> status_code: 403
[2018-08-29 11:52:25 Z] INFO: BuildConnectorRunner.run - run completed
*******************************************************************************************************************************

 

Environment

Release:
Component: ACSAAS

Cause

This can be caused when using matrix based security in Jenkins and the account the connector is using does not have access to the /manage page.

Resolution

We recommend that the user account have full access to the Jenkins instance.

However to resolve this particular error, grant the user account Overall -> Administer access as seen in the image below.