|
#1
|
|||
|
|||
Build step not being skipped
I have a number of build steps that are set to run only if the %Build_TestSucceeded% macro is set to "True". The first six steps with this rule are skipped just fine, but the seventh one gives me a VBScript error in the vbld_StepDone function. Is this function being run regardless of whether the build step was actually executed?
Thanks |
#2
|
|||
|
|||
The vbld_StepDone event still fires if a step's action is skipped. If you need to execute some logic in the event only if it wasn't skipped, use code like this:
If Step.BuildStatus <> vbldStepStatSkipped Then ' logic if not skipped goes here End If |
#3
|
|||
|
|||
Okay, I got around that problem. However, if I have the "Repeat step while condition is true" check box enabled, does it execute all of the vbld_StepStart() .. vbld_StepDone() functions for each iteration, or just once for the entire number of times it loops?
|
#4
|
|||
|
|||
The events will each fire once for every step iteration.
|
|
|