-
Bug
-
Resolution: Unresolved
-
Major
-
None
when i try to mark "fast remote polling" option in one the git repositories i have when using "multiple SCM plugin", the option is NOT saved after i click apply/save on the job config.
the /var/log/jenkins/jenkins.log file on the master shows exception [1]
running the git ls-remote manully on the same dir from the jenkins slave works.
using plugin ver 0.2
[1]
SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@6ba43cda[my_job_name]
hudson.plugins.git.GitException: Error performing command: /usr/bin/git ls-remote -h git://git.repo.example branch
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:845)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:800)
at hudson.plugins.git.GitAPI.getHeadRev(GitAPI.java:1123)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:684)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at org.jenkinsci.plugins.multiplescms.MultiSCM.compareRemoteRevisionWith(MultiSCM.java:91)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1391)
at hudson.model.AbstractProject.poll(AbstractProject.java:1324)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
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:662)
Caused by: java.io.IOException: Cannot run program "/usr/bin/git" (in directory "/var/lib/jenkins/workspaces/my_job"): java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at hudson.Proc$LocalProc.<init>(Proc.java:244)
at hudson.Proc$LocalProc.<init>(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:709)
at hudson.Launcher$ProcStarter.start(Launcher.java:338)
at hudson.Launcher$ProcStarter.join(Launcher.java:345)
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:826)
... 19 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 25 more