Jenkins Connector Error Regarding API_Key

book

Article ID: 111448

calendar_today

Updated On:

Products

CA OPS/MVS Event Management & Automation CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

When using the sample config to build a Jenkins connector configuration, the following error is seen in the log file when trying to use an API key:
FATAL: AgileCentralConnection.internalizeConfig(81) - <ConfigurationError> AgileCentral section of the config contained these invalid entries: API_Key
ERROR: BuildConnectorRunner.run - AgileCentral section of the config contained these invalid entries: API_Key

Environment

Jenkins Build Connector 1.1.3

Resolution

The sample file contains an invalid reference to API_Key as seen below:
JenkinsBuildConnector:

    AgileCentral:
        Server    : rally1.rallydev.com
        API_Key   : _dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ

The correct attribute when using an API key is APIKey as seen in the following example:
JenkinsBuildConnector:

    AgileCentral:
        Server    : rally1.rallydev.com
        APIKey : _dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ