Answers for "stop all runs of a job jenkins"

0

stop all runs of a job jenkins

Jenkins.instance.getItemByFullName("JobName")
                .getBuildByNumber(JobNumber)
                .finish(
                        hudson.model.Result.ABORTED,
                        new java.io.IOException("Aborting build")
                );
Posted by: Guest on November-12-2020

Browse Popular Code Answers by Language