Jenkins Connector Error Regarding API_Key

Document ID : KB000111448
Last Modified Date : 24/08/2018
Show Technical Document Details
Issue:
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