-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
OS X build slave
Builds on an OS X build slave fail to clone from git repositories, but the git command given in the console output works fine when issued from an ssh shell. I think that $HOME is set, but I'm not certain of that (I checked my running env in a build shell on a project that does not use git), so I suspect that this is not the same issue as 4046: http://issues.jenkins-ci.org/browse/JENKINS-4046
Here is the full console output for the OS X build:
Started by upstream project "log4h" build number 122 Building remotely on Dock Checkout:osx / /Users/hudson/workspace/log4h/HASKELL_RUNTIME/HP2010/label/osx - hudson.remoting.Channel@214b4b3a:Dock Using strategy: Default Checkout:osx / /Users/hudson/workspace/log4h/HASKELL_RUNTIME/HP2010/label/osx - hudson.remoting.LocalChannel@3e3c855e GitAPI created Cloning the remote Git repository Cloning repository origin $ git clone -o origin ssh://builder@src/log4h.git /Users/hudson/workspace/log4h/HASKELL_RUNTIME/HP2010/label/osx ERROR: Error cloning remote repo 'origin' : Could not clone ssh://builder@src/log4h.git ERROR: Cause: Error performing git clone -o origin ssh://builder@src/log4h.git /Users/hudson/workspace/log4h/HASKELL_RUNTIME/HP2010/label/osx Trying next repository ERROR: Could not clone from a repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:587) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:535) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)