Created
July 26, 2020 13:34
-
-
Save Matrix7867/ac0993b73b81e872f06677e855b45709 to your computer and use it in GitHub Desktop.
stopping_hung_jenkins_pipeline
This file contains 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("JobName") | |
.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