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

List Git Branches Parameter broken after github PAT updated

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • Jenkins 2.249.1
      List Git Branches Parameter PlugIn - 0.0.9
      OS - CentOS-7
      jdk- jdk1.8.0_144

      We use PAT to authenticate git repo from Jenkins using Credentials. 

      After Aug13th when GitHub removed authentication using pwd.  ([Token authentication requirements for Git operations | The GitHub Blog|https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/]) we are having issues with "List Git Branches Parameter" 

      After we click on build with parameters, we see below error in the branch list plugin space.

      hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: https://github.com/XXX/hello-world.git: git-upload-pack not permitted on 'https://github.com/XXX/hello-world.git/'

       

      so far, we are re-generating the token --> updating in Jenkins credentials  store --> Approve SAML to get this working. However, this only works for an hour and we try to repeat the cycle.

       

      Any help in this is greatly appreciated as it's impacting our development time lines and deployments.  

          [JENKINS-66405] List Git Branches Parameter broken after github PAT updated

          Mark Waite added a comment -

          Check your system for additional credentials that might still be using the original password.

          As a separate note, JDK 1.8.0_144 is badly out of date. Significant changes were made in 1.8.0_16x and it is now at 1.8.0_302. Upgrade your JDK at a time that is convenient for you.

          Mark Waite added a comment - Check your system for additional credentials that might still be using the original password. As a separate note, JDK 1.8.0_144 is badly out of date. Significant changes were made in 1.8.0_16x and it is now at 1.8.0_302. Upgrade your JDK at a time that is convenient for you.

          Mark Waite added a comment -

          Closing because this is a request for help with a configuration issue, not a bug report.

          Mark Waite added a comment - Closing because this is a request for help with a configuration issue, not a bug report.

            huangsuoyuan huang suoyuan
            vamsihari Vamsi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: