3 dependent jobs
On 17 May 2012 08:36, Romu <huru...@gmail.com> wrote: > Thanks for reply. > > What do you mean by a bunch of dependant builds? Do you mean 3 build > steps in a job or 3 dependant jobs? > > Thanks > Romu > > On May 17, 1:43 pm, <terry.rank...@csiro.au> wrote: >> CI an OS kernel build? This sounds like a bad recipe to me... but here is >> how I would do it. >> >> I would recommend you break your build into a bunch of dependant builds. >> >> 1. the build >> 2. the reboot command >> 3. the tests >> >> Make them all depend on the previous one completing successfully, and maybe >> add a 'cool down timer' on the last one - just to allow the host to reboot. >> >> Regards, >> Terry >> >> -----Original Message----- >> From: jenkinsci-users@googlegroups.com >> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Melo >> Sent: Thursday, 17 May 2012 1:01 PM >> To: jenkinsci-users@googlegroups.com >> Subject: Re: How to reboot a slave during a build? >> >> On Wed, May 16, 2012 at 10:59 PM, Romu <huru...@gmail.com> wrote: >> > Hi, >> >> > How to reboot a slave as part of a build? I found that when the slave >> > reboots Jenkins immediately considers the build as failsure. >> >> > Any idea? >> >> Am I understanding correct that you want to reboot *during* a build? >> Why would you want to do that? >> >> >> >> > Thanks >> > Romu >> >> -- >> -- >> Andrew Melo