VirtualTam's bookmarks
Page 1 of 1
-
item = Jenkins.instance.getItemByFullName("your-job-name-here") // THIS WILL REMOVE ALL BUILD HISTORY item.builds.each() { build -> build.delete() } item.updateNextBuildNumber(1)
Page 1 of 1
Page 1 of 1
item = Jenkins.instance.getItemByFullName("your-job-name-here")
// THIS WILL REMOVE ALL BUILD HISTORY
item.builds.each() { build ->
build.delete()
}
item.updateNextBuildNumber(1)
Page 1 of 1