进程似乎从未在/ home / jenkins / jenkins / workspace /

时间:2019-11-14 01:13:19

标签: docker jenkins jenkins-pipeline

在Jenkins节点中构建管道时遇到以下错误。

[Pipeline] properties
[Pipeline] isUnix
[Pipeline] sh
process apparently never started in /home/jenkins/jenkins/workspace/<My_Project>@tmp/durable-94f20efb
(running Jenkins temporarily with - 
Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem 
clearer)
[Pipeline] emailext
An attempt to send an e-mail to empty list of recipients, ignored.
[Pipeline] sh
process apparently never started in /home/jenkins/jenkins/workspace/<My_Project>@tmp/durable-4116a95c
(running Jenkins temporarily with - 
Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem 
 clearer)
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
Finished: FAILURE

不确定如何找出根本原因。我在某处读到它可以通过在/etc/init.d/jenkins中添加java路径来解决,但是它不能解决问题。

enter image description here

让我知道是否需要提供更多信息。我将编辑这个问题。谢谢。

0 个答案:

没有答案