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

Unable to checkout git repo from agents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-plugin
    • None
    • Jenkins ver. 2.162
      Git plugin 3/10.0
      RHEL7
      git versions 1.8 and 2.16 tried

      We are unable to get any agent to check out a repo from git (GitLab in our case). We have configured the certs and verified that both the jenkins user and the user in the credential we use to access GitLab can check out locally on the agent. When we run a build which checks out using that same credential on the same agent, the fetch fails with Peer's Certificate issuer is not recognized.

      We have also configured the Jenkins master with the certs and that can check out from a build run on the master without problems. As soon as we attempt to run on an agent, we hit the same issue. We have sslVerify=false set for all users. The cert is self-signed.

      It seems somehow that the authentication isn't crossing the master-agent boundary. Since git is the default RCS for Jenkins and so widely used we might be missing something but we're at a loss to know how to proceed. 

      Thanks.

       

            markewaite Mark Waite
            ghs1 g hs1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: