Tags: #instructions Links: [[Jenkins]] # Reset Build History for Jenkins Job Go to "Manage Jenkins" > "Script Console" and enter this (update to specify the correct name of the job you want to reset build history for): ``` def jobName = "The Name of the Job Goes Here" def job = Jenkins.instance.getItem(jobName) job.getBuilds().each { it.delete() } job.nextBuildNumber = 1 job.save() ```