我可以使用Jenkins CLI或一些常规脚本来创建新作业吗 [英] Can I use Jenkins CLI or some groovy scripts to create a new job

查看:111
本文介绍了我可以使用Jenkins CLI或一些常规脚本来创建新作业吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Jenkins CLI或一些常规脚本来创建新作业吗? 可以从上一份复制该作业,但是svn存储库不相同.

Can I use Jenkins CLI or some groovy scripts to create a new job? This job can be copied from the previous one but the svn repo isn't the same.

推荐答案

有一个job-dsl插件,可让您使用groovy脚本创建新工作

There is a job-dsl plugin which allows you to create new jobs with groovy script

这篇关于我可以使用Jenkins CLI或一些常规脚本来创建新作业吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆