joblist = hudson.model.Hudson.instance.items.findAll{job -> job.isBuildable()} startServer = "admin computer" startNote = "bulk start" cause = new hudson.model.Cause.RemoteCause(startServer, startNote) joblist.each{run -> run.scheduleBuild(cause)}
jenkins脚本构建所有job
groovy:
猜你喜欢
转载自42087743.iteye.com/blog/2098160
今日推荐
周排行