我从詹金斯的日志上得到了这个警告。
Feb 25, 2017 9:32:40 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
--> setting agent port for jnlp
--> setting agent port for jnlp... done
Feb 25, 2017 9:32:58 PM org.jenkinsci.plugins.workflow.cps.CpsFlowExecution getCurrentHeads
WARNING: List of flow heads unset for CpsFlowExecution[null], perhaps due to broken storage
Feb 25, 2017 9:32:58 PM org.jenkinsci.plugins.workflow.cps.CpsFlowExecution getCurrentHeads
WARNING: List of flow heads unset for CpsFlowExecution[null], perhaps due to broken storage
Feb 25, 2017 9:48:02 PM jenkins.branch.MultiBranchProject$BranchIndexing run
INFO: bible-server #20170225.214800 branch indexing action completed: SUCCESS in 2.4 sec工作流-cps,这似乎是问题,是著名的管道插件的一部分,我正在使用。
https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin
除了日志中这个恼人的警告之外,它似乎没有任何其他不必要的副作用。
有人想办法解决这个问题吗?
发布于 2017-03-26 13:47:16
我看到的都是同样的东西。从插件的源代码来看,这似乎与不正常地完成管道的运行有关。
在我的例子中,我运行了一条管道,该管道贯穿了整个过程,但是由于VM失去了网络连接,所以Java异常试图发送邮件。一旦我删除了失败的运行(而不是管道本身),我就停止在日志中看到这些警告。
https://stackoverflow.com/questions/42462294
复制相似问题