Rally Software

Expand all | Collapse all

CA Agile Central Connector for Jenkins does not recognize Jenkins URL

Jump to Best Answer
  • 1.  CA Agile Central Connector for Jenkins does not recognize Jenkins URL

    Posted 08-25-2017 07:49 PM

    Hello,

     

    I am trying CA Agile Central Connector for Jenkins v1.0.0 against our Rally and Jenkins instances. I could not get past connecting to Jenkins because our (Cloudless Enterprise) Jenkins URL is of form:

     

    https://server/jenkins/instanceID

     

    where it does NOT reference the port specifically and DOES have a suffix of '/jenkins/instanceID' after the server name.  I couldn't map this to the YAML configuration. When I used:

        Jenkins:

            Protocol : https

            Server   : server/jenkins/instanceID

            Port     :

            Prefix   :

     

    I got this in the log:

    [2017-08-25 23:08:20 Z]  INFO: JenkinsConnection.connect - Connecting to Jenkins

    [2017-08-25 23:08:20 Z] DEBUG: JenkinsConnection._getJenkinsVersion - https://server/jenkins/instanceID:None/manage

     

    When I used:

        Jenkins:

            Protocol : https

            Server   : server

            Port     : 443

            Prefix   : jenkins/instanceID

     

    I got this:

    [2017-08-25 23:42:25 Z]  INFO: JenkinsConnection.connect - Connecting to Jenkins

    [2017-08-25 23:42:25 Z] DEBUG: JenkinsConnection._getJenkinsVersion - https://server:443/manage

     

    (but need 'jenkins/instanceID' after server).

     

    How can our Jenkins URL format be supported by the connector?

     

    Besides, in the Rally section I could not get the API key to be supported. The error thrown was:

     

    [2017-08-25 23:48:37 Z] FATAL: AgileCentralConnection.internalizeConfig(88) - <ConfigurationError> AgileCentral section of the config contained these invalid entries: API_Key

     

    I had to comment out API_Key and use my password in plain text, which is OK for testing, but unacceptable for production use. Is there a later version than 1.0.0 of the connector, supporting API_Key?

     

    The Jenkins we use us Cloudless Jenkins Enterprise 2.32.3.2-rolling.

     

    Thank you!

    Gleb Sapozhnikov



  • 2.  Re: CA Agile Central Connector for Jenkins does not recognize Jenkins URL
    Best Answer

    Posted 08-29-2017 02:50 AM

    gsapozhn,

     

    I know we are working with you via a Support Case.  Once you confirm the solution provided, we'll also post it here.

     

    Michael



  • 3.  Re: CA Agile Central Connector for Jenkins does not recognize Jenkins URL

    Posted 08-31-2017 03:00 AM

    Hi Michael,

     

    Responded to the case. Will await a response.

     

    Thanks!

    Gleb



  • 4.  Re: CA Agile Central Connector for Jenkins does not recognize Jenkins URL

    Posted 09-28-2017 05:26 PM

    The outcome was: Cloudbees Jenkins is not supported as yet.