jenkins停止僵尸作业Click here to forcibly terminate running steps

阅读 56

2022-06-28

现象

job执行完成后没有退出,而且不能停止

解决

jenkins停止僵尸作业Click here to forcibly terminate running steps_jenkins停止僵尸作业
jenkins停止僵尸作业Click here to forcibly terminate running steps_运维_02
jenkins停止僵尸作业Click here to forcibly terminate running steps_运维_03

Jenkins.instance.getItemByFullName("job名")
.getBuildByNumber()
.finish(
hudson.model.Result.ABORTED,
new java.io.IOException("Aborting build")
);


相关推荐

精彩评论(0)

0 0 举报