Jenkins ->系统管理->脚本命令行

Jenkins.instance.getItemByFullName(“YourJobName”).updateNextBuildNumber(1)

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐