Mustafa Shabib
Mustafa Shabib

Reputation: 740

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 during certain hours. I've tried to configure the project's Schedule (under Build Triggers) in Hudson by setting it to:

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

Upvotes: 1

Views: 149

Answers (1)

Starkey
Starkey

Reputation: 9781

Try this:

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

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

Upvotes: 4

Related Questions