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

Pipeline Clone fails on zOS with HTTPS ASKPASS credentials

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • 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

      Similar to the case https://issues.jenkins-ci.org/browse/JENKINS-63146 but for HTTPS, the encoding of the password used by ASKPASS is coming across in UTF8 instead of IBM-1047.

       
      When attempting to clone a repository using an ASKPASS for HTTPS in a pipeline, the clone fails with
      fatal: Authentication failed for 'URL...'
      This is not urgent for our team, but have been asked to open this by our colleagues on a different project who are experiencing this situation, which we can reproduce on our z/OS machine.

        Attachments

          Issue Links

            Activity

            Hide
            dbehm Dennis Behm added a comment -

            Thank you Mark. I can confirm, that it works!

            Show
            dbehm Dennis Behm added a comment - Thank you Mark. I can confirm, that it works!
            Hide
            rsbeckerca Randall Becker added a comment - - edited

            Our SSH and HTTPS tests both pass on 3.4.1. Thank you.

            Show
            rsbeckerca Randall Becker added a comment - - edited Our SSH and HTTPS tests both pass on 3.4.1. Thank you.
            Hide
            rsbeckerca Randall Becker added a comment -

            I'm monitoring JGit on this. Will report on it. Thanks for the version number for release. I'll give it a shot this weekend.

            Show
            rsbeckerca Randall Becker added a comment - I'm monitoring JGit on this. Will report on it. Thanks for the version number for release. I'll give it a shot this weekend.
            Hide
            markewaite Mark Waite added a comment -

            I released git client plugin 3.4.1 with the fix. Would like confirmation that it works for you.

            A release with a new version of JGit will have to wait until they deliver that new release. I didn't see any indications of a planned release date, so I assume it will part of an upcoming quarterly JGit release.

            Show
            markewaite Mark Waite added a comment - I released git client plugin 3.4.1 with the fix. Would like confirmation that it works for you. A release with a new version of JGit will have to wait until they deliver that new release. I didn't see any indications of a planned release date, so I assume it will part of an upcoming quarterly JGit release.
            Hide
            rsbeckerca Randall Becker added a comment -

            I missed that one also.

            Aside: there is a new JGit release coming also, with a fix to file system resolution calculation for z/OS (it was reporting 0)

            Show
            rsbeckerca Randall Becker added a comment - I missed that one also. Aside: there is a new JGit release coming also, with a fix to file system resolution calculation for z/OS (it was reporting 0)

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rsbeckerca Randall Becker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: