Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 crontab 上有一些工作,我想将它们全部导入 jenkins。有没有一种优雅的方式来做到这一点?
谢谢,
您应该检查 -自动配置或创建 hudson 作业。
Jenkins CLI 公开了一种更新作业配置的方法。您可以检索作业定义,然后使用相同的 cron 表示法和脚本更新作业的 config.xml