gpt4 book ai didi

ubuntu - 成功构建部署后 Jenkins Build 失败

转载 作者:行者123 更新时间:2023-12-04 18:30:35 24 4
gpt4 key购买 nike

成功部署后,每次构建都会由于此错误而失败。请帮我。

Ubuntu SMP 2013 年 1 月 8 日星期二 22:04:49 UTC 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

最佳答案

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

看来您正在运行 JDK 1.8 版,对吗?

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

关于ubuntu - 成功构建部署后 Jenkins Build 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21231443/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com