肥涵

导航

jenkins 定时构建

1、新建任务,切入“源码管理”

 

 2、勾选定时构建(? 中有定时说明)

MINUTE   minutes within the hour (0-59) :分钟,范围(0-59)

HOUR    The hour of the day(0-23)       :小时,范围(0-23)

DOM    The day of the month(1-31)  :天,范围(1-31)

MONTH   The month(1-12)       :月,范围(1-12)

DOW         The day of the week(0-7) where 0 and 7  are Sunday  :周几,范围(0-7),0、7都是指周日

 

* * * * * 代表每一秒执行一次

H/5 * * * * 代表每五分钟执行一次

* * * * 3   代表每周三执行一次

以此类推

posted on 2020-11-24 22:30  肥涵  阅读(185)  评论(0编辑  收藏  举报