RE: Handling testcases involving reboot during execution of Job on Slave

2015-04-24 Thread Jason Pyeron
> -Original Message- > From: Mark Waite > Sent: Friday, April 24, 2015 8:13 > > My apologies. My description was wrong. It makes it sound > simpler than it actually is, or at least it sounds simpler > than the technique I'm actually using to reboot a slave agent. > > > I reviewed the

Re: Handling testcases involving reboot during execution of Job on Slave

2015-04-24 Thread Mark Waite
My apologies. My description was wrong. It makes it sound simpler than it actually is, or at least it sounds simpler than the technique I'm actually using to reboot a slave agent. I reviewed the Jenkins job which I have that reboots a Windows machine in hopes of reducing the number of times a jo

Re: Handling testcases involving reboot during execution of Job on Slave

2015-04-24 Thread Ankit Singhal
Hi Mark, Thanks for the reply. Can you please help me in detailing the steps of doing it. I tried following - Created a build-flow name " Start test" - After that created 3 freestyle projects. - Project1 : Before Reboot - Command: echo "Before Reboot" - Project 2 : Reboot - Co

Re: Handling testcases involving reboot during execution of Job on Slave

2015-04-23 Thread Mark Waite
When I've needed to run something on a freshly booted machine, particularly as part of a series of jobs, I've generally been able to do that by partitioning the work into multiple jobs, with the job which must execute on the newly booted slave being configured to run on the slave. A single job can