On Wed, 22 Feb 2017, at 18:54, Diganta Paladhi wrote: >> Hi Guys, I am facing this issue with Git plugin version 3.0.5 Any >> idea how to solve this? I have tried all possible suggestions, but >> failed to resolve this :( ** >> *17:07:29* > /usr/bin/git rev-parse --verify HEAD # timeout=10 >> *17:07:29* No valid HEAD. Skipping the resetting *17:07:29* > >> /usr/bin/git clean -fdx # timeout=10 *17:07:29* Fetching upstream >> changes from <git repo> *17:07:29* > /usr/bin/git --version # >> timeout=10 *17:07:29* using GIT_ASKPASS to set credentials *17:07:29* >> > /usr/bin/git fetch --tags --progress <git repo> >> +refs/heads/*:refs/remotes/origin/* >> >> *17:07:29* ERROR: Error fetching remote repo 'origin' *17:07:29* >> hudson.plugins.git.GitException[1]: Failed to fetch from <git repo> >> *17:07:29* at >> hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:806)[2] *17:07:29* >> at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)[3] >> *17:07:29* at >> hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)[4] *17:07:29* >> at hudson.scm.SCM.checkout(SCM.java:495)[5] *17:07:29* at >> hudson.model.AbstractProject.checkout(AbstractProject.java:1278)[6] >> *17:07:29* at hudson.model.AbstractBuild$AbstractBuildExecution.def- >> aultCheckout(AbstractBuild.java:604)[7] *17:07:29* at jenkins.scm.S- >> CMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)[8] >> *17:07:29* at hudson.model.AbstractBuild$AbstractBuildExecution.run- >> (AbstractBuild.java:529)[9] *17:07:29* at >> hudson.model.Run.execute(Run.java:1728)[10] *17:07:29* at >> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)[11] >> *17:07:29* at hudson.model.ResourceController.execute(ResourceContr- >> oller.java:98)[12] *17:07:29* at >> hudson.model.Executor.run(Executor.java:404)[13] >>
It looks like you haven't pasted the full error message — usually the lines after that part of the stacktrace indicate why the clone failed. Regards, Chris Links: 1. http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException 2. http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom&entity=method 3. http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges&entity=method 4. http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method 5. http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.checkout&entity=method 6. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method 7. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method 8. http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method 9. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method 10. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method 11. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method 12. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method 13. http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1487845750.3225691.890287960.75EC7890%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
