Jenkins job failing with Caused by: hudson.plugins.git.GitException: checkout -f returned status code -1 -
i running jenkins on windows , trying download code git through jenkins, following error occurs. tried configuring "additional behaviours" 'advance clone behaviours' options - 'shallow clone' , 'timeout (in minutes) clone , fetch operations :60' still job failing below error
checking out revision c340e8f017689f723b19c2b479d7db7c3e66591d (origin/develop)
c:\programs\git\bin\git.exe config core.sparsecheckout # timeout=10 c:\programs\git\bin\git.exe checkout -f c340e8f017689f723b19c2b479d7db7c3e66591d
error: timeout after 10 minutes fatal: not checkout c340e8f017689f723b19c2b479d7db7c3e66591d hudson.plugins.git.gitexception: not checkout c340e8f017689f723b19c2b479d7db7c3e66591d @ org.jenkinsci.plugins.gitclient.cligitapiimpl$9.execute(cligitapiimpl.java:2031) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler$1.call(remotegitimpl.java:152) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler$1.call(remotegitimpl.java:145) @ hudson.remoting.userrequest.perform(userrequest.java:120) @ hudson.remoting.userrequest.perform(userrequest.java:48) @ hudson.remoting.request$2.run(request.java:332) @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:68) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ hudson.remoting.engine$1$1.run(engine.java:85) @ java.lang.thread.run(unknown source) @ ......remote call jenkins10(native method) @ hudson.remoting.channel.attachcallsitestacktrace(channel.java:1416) @ hudson.remoting.userresponse.retrieve(userrequest.java:220) @ hudson.remoting.channel.call(channel.java:781) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler.execute(remotegitimpl.java:145) @ sun.reflect.generatedmethodaccessor559.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler.invoke(remotegitimpl.java:131) @ com.sun.proxy.$proxy58.execute(unknown source) @ hudson.plugins.git.gitscm.checkout(gitscm.java:1033) @ hudson.scm.scm.checkout(scm.java:485) @ hudson.model.abstractproject.checkout(abstractproject.java:1269) @ hudson.model.abstractbuild$abstractbuildexecution.defaultcheckout(abstractbuild.java:607) @ jenkins.scm.scmcheckoutstrategy.checkout(scmcheckoutstrategy.java:86) @ hudson.model.abstractbuild$abstractbuildexecution.run(abstractbuild.java:529) @ hudson.model.run.execute(run.java:1738) @ hudson.model.freestylebuild.run(freestylebuild.java:43) @ hudson.model.resourcecontroller.execute(resourcecontroller.java:98) @ hudson.model.executor.run(executor.java:410) caused by: hudson.plugins.git.gitexception: command "c:\programs\git\bin\git.exe checkout -f c340e8f017689f723b19c2b479d7db7c3e66591d" returned status code -1: stdout: stderr: @ org.jenkinsci.plugins.gitclient.cligitapiimpl.launchcommandin(cligitapiimpl.java:1752) @ org.jenkinsci.plugins.gitclient.cligitapiimpl.access$800(cligitapiimpl.java:64) @ org.jenkinsci.plugins.gitclient.cligitapiimpl$9.execute(cligitapiimpl.java:2023) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler$1.call(remotegitimpl.java:152) @ org.jenkinsci.plugins.gitclient.remotegitimpl$commandinvocationhandler$1.call(remotegitimpl.java:145) @ hudson.remoting.userrequest.perform(userrequest.java:120) @ hudson.remoting.userrequest.perform(userrequest.java:48) @ hudson.remoting.request$2.run(request.java:332) @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:68) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ hudson.remoting.engine$1$1.run(engine.java:85) @ java.lang.thread.run(unknown source) finished: failure
Comments
Post a Comment