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

GitException: Failed to fetch from git

XMLWordPrintable

      Please help me to solve this issue.. I'm trying to pull project from github using jenkins ..
      But i have having this issue..

      Building in workspace /home/ci/.jenkins/jobs/Test Billing/workspace
      Fetching changes from the remote Git repository
      Fetching upstream changes from git://github.com/Baloba/BalobaBillingEngine.git
      FATAL: Failed to fetch from git://github.com/Baloba/BalobaBillingEngine.git
      hudson.plugins.git.GitException: Failed to fetch from git://github.com/Baloba/BalobaBillingEngine.git
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      at hudson.model.Run.execute(Run.java:1751)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      Caused by: hudson.plugins.git.GitException: Command "fetch -t git://github.com/Baloba/BalobaBillingEngine.git +refs/heads/master:refs/remotes/origin/master" returned status code 128:
      stdout:
      stderr: fatal: Unable to look up charithaperera (port vfrCDE12#@github.com) (Servname not supported for ai_socktype)

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:940)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:914)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:175)
      at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
      ... 10 more
      [BFA] Scanning build for known causes...

      [BFA] Done. 0s
      Finished: FAILURE
      ---------------------------

      Git Client 1.4.5
      Git Plugin 2.0

            ndeloof Nicolas De Loof
            ncbperera ncbperera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: