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
Youngie 61 # perfect round in round 2! | |
Gus 53 | |
Katie 53 | |
Mick 53 | |
Shaggy 53 | |
James 47 # I didn't send the tips message for round 2 to James :( but he gets 16 points for it :) | |
Rob 47 | |
Brett 45 | |
Nick 45 | |
Dayna 41 |
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
// change this variable to match the name of the job whose builds you want to delete | |
def jobName = "Your Job Name" | |
def job = Jenkins.instance.getItem(jobName) | |
job.getBuilds().each { it.delete() } | |
job.nextBuildNumber = 1 | |
job.save() |