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: https://github.com/jenkinsci/jenkins-scripts/blob/master/scriptler/disableEnableJobsMatchingPattern.groovy Am Mittwoch, 19. August 2015 10:33:37 UTC+2 schrieb Alex Brodov: > > 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 ? > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3b071cba-9b4f-441e-afd0-9818f1d9c2a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
