PDA

View Full Version : Continue build after action terminated


lockedude
10-20-2017, 02:22 PM
I am using the Terminate Action for a step with a seconds setting. When the period expires, I wanted to capture the termination (vbldStepStatTerminated) as the Step.BuildStatus. However, it does not seem to fire the termination in any of the status categories (Starting, Started, Done) so I am unable to capture the event.

Is there a way to hook into the termination event and then continue the build? I know I can merely set the build to continue on failure but would prefer to set the status to vbldStepStatSucceeded to nullify the "failure" and continue in that way.

Thanks in advance!

kinook
10-21-2017, 11:32 AM
Step.BuildStatus was not being set to vbldStepStatTerminated until after the vbld_StepDone script event. This is fixed in the latest download (VisBuildSvr.dll 9.5.0.3 in Help | About after installing).