PDA

View Full Version : the Group step and %LASTSTEP_STATUS%


abcdetech
12-01-2009, 04:11 PM
If I have %LASTSTEP_STATUS% equals to 0 in any of my steps it works as expected: if a previous step fails the next step will not be executed.

Now. I included a bunch of steps into Group.
In the Group step I put the same condition - %LASTSTEP_STATUS% equals to 0. I'm expecting to see Group and all included into this group steps to be with Skipped status (because the prev. step failed).

But no matter what the Group gets executed - Completed along with all steps included into this Group.

Does the Group step behaves differently on Conditional Build Rules?

In my script I have a VS2008 step if it fails then I have a group of steps which I don't want to execute.


thank you

kinook
12-01-2009, 04:17 PM
Rules work the same for Group steps as other action types. Make sure the Nesting of rules option is checked and Re-evaluate rules is unchecked.
http://www.kinook.com/VisBuildPro/Manual/miscopt.htm