Re: What to do since PostBuild Script is deprecated

2017-11-10 Thread john.peterson
I installed Single Use and removed Post Build. But upon further evaluation, I wonder if my problems were partly my own fault anyway? In the Node Configurations I had: Availability: Take this agent online when in demand, and offline when idle In Demand Delay: 0 Idle Delay: 10 Disconnect After L

Re: What to do since PostBuild Script is deprecated

2017-11-10 Thread john.peterson
Excellent suggestion. And the "race condition" the plugin mentions is exactly what was happening. We are running VMware VM's via vSphere Cloud plugin. And our jobs are set to shutdown and revert. But, if a job HAPPENS to grab the VM before it shuts down, it keeps running and tries to run a j

Re: What to do since PostBuild Script is deprecated

2017-11-10 Thread Andrew Grimberg
On 11/10/2017 08:13 AM, john.peterson wrote: > 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 to do since PostBuild Script is deprecated

2017-11-10 Thread john.peterson
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, occasi