Last active
August 7, 2024 08:37
-
-
Save jayveersolanki/df48a4a4fbc598eb43edb2533847baad to your computer and use it in GitHub Desktop.
how to stop an unstoppable zombie multibranch job
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("<project-name>/<branch-name>") | |
.getBuildByNumber(JobNumber) | |
.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