Jenkins设置Poll SCM

Posted IT小不点

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Jenkins设置Poll SCM相关的知识,希望对你有一定的参考价值。

*/5 * * * *  (每5分钟执行一次)

 0 20 * * *   每天 20点执行定时build

 

# every fifteen minutes (perhaps at :07, :22, :37, :52)
H/15 * * * *
# every ten minutes in the first half of every hour (three times, perhaps at :04, :14, :24)
H(0-29)/10 * * * *
# once every two hours every weekday (perhaps at 9:38 AM, 11:38 AM, 1:38 PM, 3:38 PM)
H 9-16/2 * * 1-5
# once a day on the 1st and 15th of every month except December
H H 1,15 1-11 *

以上是关于Jenkins设置Poll SCM的主要内容,如果未能解决你的问题,请参考以下文章

搞清楚jenkins中“Poll SCM”和“Build periodically”的什么意思

jenkins构建触发器定时任务Build periodically和Poll SCM

如何从 jenkins 作业的 scm 轮询中排除 jenkins 文件

Jenkins定时构建和轮询SCM设置说明

Jenkins kubernetes 代理结帐 scm 未使用配置的密钥

在轮询 SCM 时将 ssh-agent 与 jenkins 一起使用