Re: Limit job start time to period

2016-03-11 Thread Baptiste Mathus
Don't know any plugin designed precisely for that.
But if I had to do it, I'd try two ways:
* either have a first step to check the current hour to decide to continue
or not
* or have a job dedicated to that, but that would trigger another one
conditionally

Advantage of the second one: you'll only have actual executions on the
downstream job. With the first you'll have visible builds even if they were
stopped at first step.

My 2 cents
Le 11 mars 2016 7:25 AM, "Igor"  a écrit :

> Hello,
> I want to limit a job, to start in the specific time period and just if it
> was triggered.
> How the best is to do it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6c4d2ce0-7818-4015-93db-d428b015394a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6X0u2VGDnXET2_wSChUB9tt8gUpDtaGdxvzts%2BQJ6uJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Limit job start time to period

2016-03-10 Thread Igor
Hello,
I want to limit a job, to start in the specific time period and just if it 
was triggered. 
How the best is to do it?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6c4d2ce0-7818-4015-93db-d428b015394a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.