Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def project = jenkins.model.Jenkins.instance.getItemByFullName('PROJECT_NAME')
- def build = project.getBuildByNumber(87)
- build.@result = hudson.model.Result.SUCCESS
- // build.@result = hudson.model.Result.NOT_BUILT
- // build.@result = hudson.model.Result.UNSTABLE
- // build.@result = hudson.model.Result.FAILURE
- // build.@result = hudson.model.Result.ABORTED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement