>From the link: Description Sometimes, the git init-command fails because of the .git/config-file is non-writeable. Logging into the slave, there seems to be nothing wrong with the permissions on the file. When it is good, it just inits the repo. 12:33:36 Started by GitLab push by the_persion 12:33:36 [EnvInject] - Loading node environment variables. 12:33:36 Building remotely on the_machine in workspace C:\JenkinsVM_slave\workspace\the_job 12:33:36 [WS-CLEANUP] Deleting project workspace... 12:33:38 [WS-CLEANUP] Done 12:33:41 Wiping out workspace first. 12:33:41 Cloning the remote Git repository 12:33:41 Cloning repository the_repository.git 12:33:41 > git init C:\JenkinsVM_slave\workspace\the_job # timeout=10 12:33:41 Fetching upstream changes from the_repository.git
When it fails, it halts at git init: 11:38:32 Started by GitLab push by the_person 11:38:32 [EnvInject] - Loading node environment variables. 11:38:32 Building remotely on the_machine in workspace C:\JenkinsVM_slave\workspace\the_job 11:38:32 [WS-CLEANUP] Deleting project workspace... 11:38:32 [WS-CLEANUP] Done 11:38:32 Wiping out workspace first. 11:38:32 Cloning the remote Git repository 11:38:32 Cloning repository the_repository.git 11:38:32 > git init C:\JenkinsVM_slave\workspace\the_job # timeout=10 11:38:33 ERROR: Error cloning remote repo 'origin' 11:38:33 hudson.plugins.git.GitException: Could not init C:\JenkinsVM_slave\workspace\the_job 11:38:33 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:666) 11:38:33 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:467) 11:38:33 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) 11:38:33 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) 11:38:33 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 11:38:33 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 11:38:33 at hudson.remoting.Request$2.run(Request.java:332) 11:38:33 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 11:38:33 at java.util.concurrent.FutureTask.run(Unknown Source) 11:38:33 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 11:38:33 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 11:38:33 at hudson.remoting.Engine$1$1.run(Engine.java:85) 11:38:33 at java.lang.Thread.run(Unknown Source) -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/db32ac74-9af8-4b20-879f-561fe4ae285c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.