I have a jenkins build project (Qpid-cpp-test) polling a git repository
at git.apache.org.
When I manually kick the build off it works fine, which seems to
indicate that the slaves used have git installed, but if I leave it
polling for changes I get the attached message in the SCM polling log.
Is this a correct diagnosis? Should git be installed on the jenkins
master?
Incidentally I'm using the git mirror rather than the svn project master
repo because I think it'll be better able to stand polling load - does
anyone have any comment on that?
Thanks
Andrew
Started on Nov 8, 2013 7:16:51 PM
Using strategy: Default
[poll] Last Built Revision: Revision 3522ddb65292c47811ba7e42e18e767d403770e9
(origin/trunk)
FATAL: Error performing command: ls-remote -h git://git.apache.org/qpid.git
trunk
hudson.util.IOException2: Error performing command: ls-remote -h
git://git.apache.org/qpid.git trunk
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:458)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1567)
at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
at
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: hudson.plugins.git.GitException: Error performing command: ls-remote
-h git://git.apache.org/qpid.git trunk
at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:988)
at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:920)
at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1297)
at
hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:488)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:456)
... 13 more
Caused by: java.io.IOException: Cannot run program "git": error=2, No such file
or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at hudson.Proc$LocalProc.<init>(Proc.java:244)
at hudson.Proc$LocalProc.<init>(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
at hudson.Launcher$ProcStarter.start(Launcher.java:353)
at
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:977)
... 17 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
... 22 more
Done. Took 17 ms
No changes
Page generated: 08-Nov-2013 19:22:33Jenkins ver. 1.537