hudson.plugins.git.GitException: Failed to fetch from git clone http://localhost:1085/git/CareID_Development.git

Jenkins JIRA | Prashant Sawant | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi I am getting below error when cloning a centralized repository my tunneling script tunnel to central repository and then try to clone Git plugin - 2.4.0 Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Careidconfig/workspace Running Prebuild steps [workspace] $ /bin/sh -xe /tmp/hudson1382292363219401647.sh + sh /var/lib/jenkins/tunn.sh Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Success build forhudson.tasks.Shell@7a09c482 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git clone http://localhost:1085/git/Development.git # timeout=10 Fetching upstream changes from git clone http://localhost:1085/git/Development.git > git --version # timeout=10 > git fetch --tags --progress git clone http://localhost:1085/git/Development.git +refs/heads/*:refs/remotes/origin/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git clone http://localhost:1085/git/CareID_Development.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) at hudson.scm.SCM.checkout(SCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:1274) 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:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git clone http://localhost:1085/git/Development.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: I don't handle protocol 'git clone http' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) ... 11 more ERROR: null Skipping sonar analysis due to bad build status FAILURE Finished: FAILURE

    Jenkins JIRA | 2 years ago | Prashant Sawant
    hudson.plugins.git.GitException: Failed to fetch from git clone http://localhost:1085/git/CareID_Development.git
  2. 0

    Hi I am getting below error when cloning a centralized repository my tunneling script tunnel to central repository and then try to clone Git plugin - 2.4.0 Started by user anonymous Building in workspace /var/lib/jenkins/jobs/Careidconfig/workspace Running Prebuild steps [workspace] $ /bin/sh -xe /tmp/hudson1382292363219401647.sh + sh /var/lib/jenkins/tunn.sh Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Success build forhudson.tasks.Shell@7a09c482 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git clone http://localhost:1085/git/Development.git # timeout=10 Fetching upstream changes from git clone http://localhost:1085/git/Development.git > git --version # timeout=10 > git fetch --tags --progress git clone http://localhost:1085/git/Development.git +refs/heads/*:refs/remotes/origin/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git clone http://localhost:1085/git/CareID_Development.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) at hudson.scm.SCM.checkout(SCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:1274) 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:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git clone http://localhost:1085/git/Development.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: I don't handle protocol 'git clone http' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) ... 11 more ERROR: null Skipping sonar analysis due to bad build status FAILURE Finished: FAILURE

    Jenkins JIRA | 2 years ago | Prashant Sawant
    hudson.plugins.git.GitException: Failed to fetch from git clone http://localhost:1085/git/CareID_Development.git
  3. 0

    How to reconnect to my git repository on GitLab from NetBeans IDE 8 and Jenkins?

    Stack Overflow | 2 years ago | PJvG
    hudson.plugins.git.GitException: Failed to fetch from https://gitlab.com/<group-name>/<project-name>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins and Git configuration issue

    Stack Overflow | 2 years ago | senchaDev
    hudson.plugins.git.GitException: Failed to fetch from ssh://git@<the-url-to-the-server>demo_android.git
  6. 0

    Can't make Jenkins to work with Git and BitBucket

    Stack Overflow | 3 years ago | romu
    hudson.plugins.git.GitException: Failed to fetch from git@bitbucket.org:#company#/#project#.git

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Command "git fetch --tags --progress git clone http://localhost:1085/git/Development.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: I don't handle protocol 'git clone http'

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$1.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
      4 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761)
      2. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012)
      3. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
      3 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:484)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1274)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      3 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      2. hudson.model.Run.execute(Run.java:1738)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:381)
      5 frames