jenkins清空所有历史记录 Jenkins 的 Script Console 功能并运行以下脚本 #!groovy Jenkins.instance.getAllItems().each { item -> if (item instanceof hudson.model.Job) {