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

jenkins日志爆炸

jenkins 重置构建历史-LMLPHP

05-27 18:13