Polling has always run on the master IIRC, otherwise it wouldn't be possible for the master to know when to fire up a slave to run a job.
----- Original Message ----- From: [email protected] To: [email protected] At: Nov 4 2013 14:54:17 Hello, I just upgraded several of my plugins including git (2.0), ssh-credentials (1.5.1), scm-api (0.2), and git-client (1.4.6). I'm on Jenkins 1.509.3 Now, polling fails as shown below: FATAL: Error performing command: ls-remote -h ssh://[email protected]:29418/Bryce.git fs01 hudson.util.IOException2: Error performing command: ls-remote -h ssh://[email protected]:29418/MyRepo.git fs01 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:1521) at hudson.model.AbstractProject.poll(AbstractProject.java:1446) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: hudson.plugins.git.GitException: Error performing command: ls-remote -h ssh://[email protected]:29418/Bryce.git fs01 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 ""\Program Files (x86)\Git\bin\git.exe"": java.io.IOException: error=2, No such file or directory I suspect that the polling mechanism is now attempting to run on the server--whereas, before, it ran on the slave. The Git commands are going to fail if they run on the server, because it doesn't have Git installed. Does anyone have an idea of how I can get past this problem? Thank you. Steve K. -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
