goto
[jenkins-instance]/script |
insert this script and update the job name
item = Jenkins.instance.getItemByFullName("your-job-name-here") //THIS WILL REMOVE ALL BUILD HISTORY item.builds.each() { build -> build.delete() } item.updateNextBuildNumber(1) |
To delete all build of all jobs use:
|
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|