|
#1
|
|||
|
|||
How To Move to Next Item in Group on failure
Hey all,
Don't know if this can be accomplished without using multiple projects, but figured I'd ask. I have a repeating rule on a group. Within this group, I build a .net project and do a few other things. So lets say I have 10 projects and the group will fire for each project. What I would like to do is if a step in the group fails for an individual project, it will exit out of building that project and move on to the next project to be processed by the group. So project 1-3 build ok. project 4 fails, in the middle of the group, it stops processing project 4 and moves on to build 5-10. Is it possible? Thx |
#2
|
|||
|
|||
Yes. Mark the Make VS.NET step to ignore failure. Put the 'few other things' steps that follow it in a Group, and add a build rule to that Group step to build only if %LAST_STEP_STATUS% is equal to 0.
|
|
|