Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25283

jenkins JClouds plugin fails on GCE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jclouds-plugin
    • Jenkins ver. 1.584, jclouds-jenkins ver. 2.8, Centos 6.6

      The credentials section of the jclouds-jenkins GCE configuration expects a private key. pasting the correct private key extracted from the .p12 provided by google results in a parsing error.

      Cannot connect to specified cloud, please check the identity and credentials: chars -----BEGIN
      RSA PRIVATE KEY----- AAAAB<SNIP>XmXR ----END RSA PRIVATE KEY---- doesn't contain % line [-----END ]

      If I remove the "----BEGIN RSA", jclouds correctly tells me that % doesn't contain the line -----BEGIN but it seems to be barfing on parsing the "----END" part

      I checked weather pasting the key into the Credential section of the configure jenkins U/I was causing something funny with line breaks, but I placed the key directly into the config.xml's <credential></credential> section, and I'm getting the same error.

      -Aric

            Unassigned Unassigned
            aric aric gardner
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: