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

Git plugin fails to clone with ssh protected passphrase

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • git-plugin
    • None
    • Jenkins 1.598
      Linux 2.6.32-431.5.1.el6.x86_64
      CentOS release 6.5 (Final)

      Plugins:
      Attached file saved from pluginManager/api/xml?tree=plugins[shortName,version]&pretty

    Description

      I have a private key set up in the global credentials (named sls). I have the SCM for a test project set up to download code from a springloops git project. See attached log of the failure to connect to git.

      Fetching the repo with command line git works fine with the same key. If I install an SSH agent on the exact same build, it allows the fetch to work. See the other attached log for that.

      I have used jenkins and git in a different environment with no problems. The only difference I've noticed here is the non-standard port of 1234. Is it possible git plugin is not identifying the port?

      Setting the priority to major since use of SSH agent is a workaround but requires extra configuration and build overhead.

      Attachments

        Issue Links

          Activity

            jamie Jamie Doornbos created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-20879 [ JENKINS-20879 ]
            markewaite Mark Waite made changes -
            Summary Git plugin fails to connect Git plugin fails to clone with ssh protected passphrase
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-20638 [ JENKINS-20638 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            dejayc Dejay Clayton made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            markewaite Mark Waite made changes -
            Resolution Duplicate [ 3 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 162599 ] JNJira + In-Review [ 196999 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              ndeloof Nicolas De Loof
              jamie Jamie Doornbos
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: