成功构建部署后,Jenkins Build失败

时间:2014-01-20 10:25:24

标签: ubuntu jenkins

成功部署后,每次都会因为此错误而导致构建失败。请帮帮我。

Ubuntu SMP Tue Jan 8 22:04:49 UTC 2013 x86_64 GNU / Linux

FATAL: Remote call on slave1 failed

java.io.IOException: Remote call on slave1 failed
    at hudson.remoting.Channel.call(Channel.java:723)
    at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585)
    at hudson.model.Run.execute(Run.java:1665)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:246)
Caused by: java.lang.LinkageError
    at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:618)
    at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552)
    at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:572)
    at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:496)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890)
    at hudson.remoting.UserRequest.perform(UserRequest.java:118)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:326)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
    at java.lang.Class.getDeclaredMethod(Class.java:2109)
    at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:607)
    ... 13 more

1 个答案:

答案 0 :(得分:1)

判断此错误报告:https://issues.jenkins-ci.org/browse/JENKINS-21341

看起来你正在运行JDK 1.8版,我是对的吗?

如果是这样,您可能希望降级到1.7,直到Jenkins兼容。