-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
Git plugin is unable to checkout the current version in ist workspace:
Baue in Arbeitsbereich D:\jenkins\jobs\theproject\workspace
> git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url git@gitcentral:/gitrepo/theproject.git # timeout=10
Fetching upstream changes from git@gitcentral:/gitrepo/theproject.git
> git.exe --version # timeout=10
using GIT_SSH to set credentials
> git.exe -c core.askpass=true fetch --tags --progress git@gitcentral:/gitrepo/theproject.git +refs/heads/:refs/remotes/origin/
> git.exe rev-parse "refs/remotes/origin/master^
> git.exe rev-parse "refs/remotes/origin/origin/master^{commit}
" # timeout=10
Checking out Revision 4ee382f1cad8053031c96f90281f4d85da6cdbb9 (refs/remotes/origin/master)
> git.exe config core.sparsecheckout # timeout=10
> git.exe checkout -f 4ee382f1cad8053031c96f90281f4d85da6cdbb9
FATAL: Could not checkout 4ee382f1cad8053031c96f90281f4d85da6cdbb9
hudson.plugins.git.GitException: Could not checkout 4ee382f1cad8053031c96f90281f4d85da6cdbb9
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1907)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1060)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
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:410)
Caused by: hudson.plugins.git.GitException: Command "git.exe checkout -f 4ee382f1cad8053031c96f90281f4d85da6cdbb9" returned status code 128:
stdout:
stderr: fatal: unable to join threaded lstat
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:62)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$8.execute(CliGitAPIImpl.java:1899)
... 10 more
Finished: FAILURE
From the Windows cmd prompt git status produces the same error:
D:\jenkins\jobs\theproject\workspace>git status
fatal: unable to join threaded lstat
However when running git status from the gitbash shell this error does not occur.
$ git version
git version 2.6.3.windows.1
The repository size is ~230 MB