Jenkins - Put build in Queue

31 views
Skip to first unread message

Alex Brodov

unread,
Aug 19, 2015, 4:33:37 AM8/19/15
to Jenkins Users
I want to create the following flow:

I have some program which is making a REST CALL to one of my builds, it could make it any time in a day, but i don't want this my jennkins build to be executed immediately, only in a specific interval of time E.G between 3-5 AM, but only if it has been triggered by the REST Call.
Is there any plugin or a way to do it ?

mr

unread,
Aug 20, 2015, 5:32:13 AM8/20/15
to Jenkins Users
One of many possibilities would be:
* Create Job 'reactToRestCall' which react on the REST call
* Create Job 'enableReactToRestCall' which enables the job 'reactToRestCall' at 3 AM
* Create Job 'disableReactToRestCall' which disables the job 'reactToRestCall' at 5 AM

The jobs 'enableReactToRestCall' and 'disableReactToRestCall' call following scriptler script:

Reply all
Reply to author
Forward
0 new messages