Thanks Baptiste, While our solution works for now I will be implementing the workflows a long term solution.
On Friday, December 4, 2015 at 8:52:25 AM UTC-8, Baptiste Mathus wrote: > > Might be an use case for workflow, the advantage being also that it should > let you avoid having a slave locked just to sleep. > I think that if you set a sleep outside a node block in a workflow script > you should get that. > > Cheers > Le 4 déc. 2015 1:32 AM, <[email protected] <javascript:>> a écrit : > >> Thanks Victor for the reply. I was able to use a work around and so far >> seems good enough. This is what I did. >> >> Schedule Project A to build at the top of the hour. >> Added a post build step to trigger a build on Project B >> On Project B I added a quiet period of 1200 and a pre-requisite build >> step to check for Project A build success. (used the prerequisite build >> step plugin) >> >> >> On Thursday, December 3, 2015 at 4:23:09 AM UTC-8, Victor Martinez wrote: >>> >>> Hi, >>> >>> I've not found any plugin in order to pause Project A for X minutes, >>> but you could add some shell script to 'sleep 1200' and then run a >>> postbuild action to trigger Project B >>> It's not the smarter solution at all, maybe someone else can give a >>> better proposal >>> >>> Cheers >>> >>> On Thursday, 3 December 2015 08:51:50 UTC+1, [email protected] wrote: >>>> >>>> Not sure if what I am trying to do is possible. >>>> >>>> Here is what I am trying to accomplish: >>>> >>>> >>>> - Project A builds at the top of the hour. >>>> - Project B needs to build 20 minutes later but only if the build >>>> in Project A passes. >>>> >>>> Can this be done? >>>> >>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/6baeb5fd-d39e-49b1-984e-285ccd73e183%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/6baeb5fd-d39e-49b1-984e-285ccd73e183%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/63a1e975-0719-493c-b587-8203ad4006e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
