> -----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 Jenkins job which I have that reboots a
> Windows machine in hopes of reducing the number of times a
> job will fail due to "busy files". In that job, I have an
> ant script which schedules a reboot soon after the current
> time. That allows the job which schedules the reboot to
> complete successfully.
>
> It also requires that a subsequent job be configured to delay
Many VM (I am assuming the machine is a VM today) system support screen shots. We take screen shots at regular intervals during the reboot process. We then take the md5sum of the bitmap (much easier than "parsing" the image content), once the expected screen is up it is ready for the next job.
In summary:
1. Job ends with success and schedules reboot.
2. Job waits for reboot to complete, fails if timeout elapses.
3. Job finishes tests.
> * Created a build-flow name " Start test"
>
> * After that created 3 freestyle projects.
>
> * Project1 : Before Reboot
>
> * Command: echo "Before Reboot"
>
> * Project 2 : Reboot
>
> * Command : shutdown /r /t 0
>
> * Project 3 : After reboot
>
> * Command : echo "after reboot"
>
> * Then run the above 3 projects from build-flow
>
> * The "Start test" project fails after project 2
f-4875-92b0-30f0c8dbbe04%
40googlegroups.com > <
https://groups.google.com/d/msgid/jenkinsci-users/d2f0f06b-5d
cf-4875-92b0-30f0c8dbbe04%
40googlegroups.com?> utm_medium=email&utm_source=footer> .
d-4476-981c-245669283299%
40googlegroups.com > <
https://groups.google.com/d/msgid/jenkinsci-users/d5548546-f6
1d-4476-981c-245669283299%
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
jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFPK1P
P6Rsx1BhEc8t1ZKgN3McXSvQ5zF9DoWDD33Hkgg%
40mail.gmail.com > <
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFPK1
PP6Rsx1BhEc8t1ZKgN3McXSvQ5zF9DoWDD33Hkgg%
40mail.gmail.com?> utm_medium=email&utm_source=footer> .
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc.
http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
-
+1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.