Skip to content

Instantly share code, notes, and snippets.

@ipleten
Created May 19, 2023 21:02
Show Gist options
  • Save ipleten/a0a8e73e4dd7d96471bb1b4e54c875d6 to your computer and use it in GitHub Desktop.
Save ipleten/a0a8e73e4dd7d96471bb1b4e54c875d6 to your computer and use it in GitHub Desktop.
Jenkins.instance.getItemByFullName("group/pipeline")
.getBuildByNumber(8094)
.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