开发者

Prevent Hudson from polling/building during certain hours

We use SCM polling to initiate builds on our instance of Hudson. This works great for most of our cases, but I need to prevent Hudson from building dur开发者_如何学运维ing certain hours. I've tried to configure the project's Schedule (under Build Triggers) in Hudson by setting it to:

  • 0-15 * * *
  • 16-23 * * *

Which I thought meant that Hudson would not poll during between 3-4pm. However, if someone checks in during that time, a build is still triggered.

Any clue?

Thanks Mustafa


Try this:

  • 0-14 * * *
  • 16-23 * * *

Putting the "15" will match anything in the "15th" hour, including between 3-4pm.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜