📅  最后修改于: 2022-03-11 14:58:53.183000             🧑  作者: Mango
Jenkins.instance.getItemByFullName("JobName")
.getBuildByNumber(JobNumber)
.finish(
hudson.model.Result.ABORTED,
new java.io.IOException("Aborting build")
);