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

List Git Branches Parameter broken after github PAT updated

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.  

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: