【轉載】[Jenkins] 批量刪除構建歷史

轉載自:http://www.javashuo.com/article/p-faefvhro-dh.html 在jenkins的 def jobName = "zjt_UIAutoTest" def maxNumber = 80 Jenkins.instance.getItemByFullName(jobName).builds.findAll {   it.number <= maxNumber
相關文章
相關標籤/搜索