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

Facing issue with Global Pipeline Libraries in Jenkins 2.414.2.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • scm-api-plugin
    • None

      Hi Team,

      I have configured two shared library under global pipeline section on Jenkins 2.414.2 to deploy in my UAT and Production environment using SCM.  Auto deployment is working fine for the environment. But when i added one more library to automated the Dev deployment it stopped working. All library contains same script only difference is environment name to deploy.  SCM is starting build but not able proceed, We are getting below error 

       
      using GIT_SSH to set credentials
      > git ls-remote -h – git@github.com:xxxxx.git # timeout=10
      ERROR: Checkout failed
      hudson.plugins.git.GitException: Command "git ls-remote -h – git@github.com:xxxxx.git" returned status code 128:
      stdout:
      stderr: ssh: connect to host github.com port 22: Connection timed out
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2842)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2185)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2079)
      at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:863)

      At a time only two library is working. Can someone guide me to resolve this issue.

      Thanks.

            Unassigned Unassigned
            girija_patra Girija
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: