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

Pipeline script with SCM using git failed to authenticate git https url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • git-client-plugin
    • None
    • development
    • Declarative backlog

      Recently after Jenkins restart I am getting below error.

       

      Failed to connect to repository : Command "git ls-remote -h – https://github.com/xxxx/deployment-poc.git HEAD" returned status code 128:
      stdout:
      stderr: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
      remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
      fatal: Authentication failed for 'https://github.com/xxxx/deployment-poc.git/'

            markewaite Mark Waite
            rladkat07 Rajendra Ladkat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: