We have been using PostBuild Script to execute the following command on the 
remote machine (as Build Steps > Execute Windows Batch Command):

Shutdown  -s  -t:0     (I think I have that correct)

We have to do this to make sure that NO MATTER WHAT our remote PC (VM) is 
shutdown, otherwise, occasionally, a queued script will begin execution on 
the already open VM.

How can we do this and NOT use the PostBuild Script plugin?

We were running 1.58 in the past and are just now updating to 2.87

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f4864991-9772-4d33-a192-b625acdee1ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to