VirtualTam's bookmarks

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