The typical trick is to make your script wget slave.jar from
http://server/jnlpJars/slave.jar and copy it to your slave, then to run it.
With that said, users are supposed to be lazy, so I just committed the
code so that the core will tolerate this error and handle it more
gracefully.
> *Caused by: java.lang.NoSuchMethodError:
> hudson.remoting.VirtualChannel.syncLocalIO()V
> at hudson.FilePath.copyTo(FilePath.java:1411)*
> at hudson.FilePath.copyTo(FilePath.java:1370)
> at
> hudson.plugins.logparser.LogParserStatusComputer.computeStatusMatches(LogParserStatusComputer.java:79)
> at
> hudson.plugins.logparser.LogParserStatusComputer.access$000(LogParserStatusComputer.java:23)
> at
> hudson.plugins.logparser.LogParserStatusComputer$1.call(LogParserStatusComputer.java:45)
> at
> hudson.plugins.logparser.LogParserStatusComputer$1.call(LogParserStatusComputer.java:40)
> at hudson.remoting.UserRequest.perform(UserRequest.java:104)
> 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:619)
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
LOL.
I've been badly in need of good chuckles for the past several days.
Thanks for giving me one!