Created
June 21, 2023 04:41
-
-
Save jayveersolanki/d99d513a1f8497e5c38a0c2bee7b587d to your computer and use it in GitHub Desktop.
how-to-stop-an-unstoppable-zombie-job-on-jenkins-without-restarting-the-server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jenkins.instance | |
.getItemByFullName("<JOB NAME>") | |
.getBranch("<BRANCH NAME>") | |
.getBuildByNumber(<BUILD NUMBER>) | |
.finish(hudson.model.Result.ABORTED, new java.io.IOException("Aborting build")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment