The output > init C:\Users\User\.jenkins\workspace\test-git # timeout=10
usually means that you've made a system configuration error. You've probably defined the name of the git executable as an empty field or empty string. That line should have been: > git init C:\Users\User\.jenkins\workspace\test-git # timeout=10 and since the command name "git" is missing from the output, it likely means that you defined your git executable as the empty string. If the system configuration page which prompts for the git executable name doesn't show an empty field as an error, please submit an enhancement request to make that field warn if it is empty. Mark Waite On Wed, Jan 11, 2017 at 10:31 AM <[email protected]> wrote: > Is Git properly installed on your Jenkins server? > > > https://support.cloudbees.com/hc/en-us/articles/218156697-Git-Failed-to-connect-to-repository-Could-not-init-tmp > > On Wednesday, January 11, 2017 at 7:19:44 AM UTC-5, Sathish M wrote: > > > Failed to connect to repository : Error performing command: ls-remote -h > [email protected]: > > > and > > > > Started by user Administrator <http://localhost:8080/user/Admin> > Building on master in workspace C:\Users\User\.jenkins\workspace\test-git > Cloning the remote Git repository > Cloning repository [email protected]:****/ant_1 > > init C:\Users\User\.jenkins\workspace\test-git # timeout=10 > ERROR: Error cloning remote repo 'origin'hudson.plugins.git.GitException > <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: > Could not init C:\Users\User\.jenkins\workspace\test-git > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:666) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute&entity=method> > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:467) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute&entity=method> > at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1054) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.retrieveChanges&entity=method> > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method> > at hudson.scm.SCM.checkout(SCM.java:495) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.checkout&entity=method> > at hudson.model.AbstractProject.checkout(AbstractProject.java:1278) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method> > at > jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) > <http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1720) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:98) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:404) > <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/be631749-8b2c-49c3-9c40-7500f3fa403d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/be631749-8b2c-49c3-9c40-7500f3fa403d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAO49JtEyYvpv-kYa2O0O5%3Doa027idnK5CsTz%3DvbJ8UHCwi_6HQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
