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

Pipeline Clone fails on zOS with SSH Key-pair with Passphrase

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
    • Environment:
      Jenkins:2.222.3
      git-client: 3.3.1
      git-plugin: 4.3.0
      z/OS R2.4
      git 2.14
    • Similar Issues:
    • Released As:
      3.4.0

      Description

      When attempting to clone a repository using an SSH key-pair in a pipeline, the clone fails with
      Permission denied (publickey).
      if the key has a passphrase. The authentication succeeds if there is no passphrase. Various encodings have been attempted to get past this, including utf8, ISO8859-1, and IBM-1047.

      We are using an SSH Agent as a workaround for the time being, but that requires manually modifying the git configuration in new workspaces.

        Attachments

          Activity

          rsbeckerca Randall Becker created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Component/s git-plugin [ 15543 ]
          markewaite Mark Waite made changes -
          Remote Link This issue links to "PR-585 - set character set based on environment variable (Web Link)" [ 25350 ]
          markewaite Mark Waite made changes -
          Remote Link This issue links to "PR-584 - set passphrase character set based on ibm.system.encoding property (Web Link)" [ 25351 ]
          markewaite Mark Waite made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Attachment git-client-3.3.2-PR-584-ibm.encoding.property.hpi [ 51999 ]
          markewaite Mark Waite made changes -
          Attachment git-client-3.3.2-PR-585-credentials-file.encoding.hpi [ 52000 ]
          rsbeckerca Randall Becker made changes -
          Comment [ I have to completely rebuild my entire Jenkins agent structure. The dependencies of this fix appears to have caused all agent configurations to be lost. This is going to take a lot of time - as in days. I don't know what happened or how to recover. ]
          markewaite Mark Waite made changes -
          Attachment git-client-3.3.2-PR-585-credentials-file.encoding.hpi [ 52000 ]
          markewaite Mark Waite made changes -
          Attachment git-client-3.3.2-PR-584-ibm.encoding.property.hpi [ 51999 ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
          markewaite Mark Waite made changes -
          Released As 3.4.0
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            markewaite Mark Waite
            Reporter:
            rsbeckerca Randall Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: