标签:build jenkins name number uil delete 删除 builds 历史
//项目名称Jenkins.instance.getItemByFullName(jobName).builds.findAll {
it.number <= maxNumber
}.each {
it.delete()
}
标签:build jenkins name number uil delete 删除 builds 历史
原文地址:https://blog.51cto.com/xuanxy/2549225