View Full Version : Where can i get the build status of a step that has ignore fail checked
pyang
12-19-2004, 09:17 PM
Hi,
Anyone has any idea where i can get the build status information of a particular step that has the "Ignore Fail" checkbox checked?
Thanks.
pyang
kevina
12-19-2004, 09:44 PM
The LASTSTEP_STATUS temporary macro. See the "System Macros" help entry for details.
kinook
12-20-2004, 08:08 AM
That gives you the previously build step. To retrieve the status of a specific step, use
Project.Steps(vbldStepMain)(<0-based index>).BuildStatus
if you know its position. If you know its name (make sure it's unique for that step collection), use
Project.FindStep("step name", vbldStepMain)
to determine its index. When calling script expressions from a step property, remember to surround it in [brackets] to tell VBP that it's script.
http://visualbuild.com/Manual/?buildstatusproperty.htm
http://visualbuild.com/Manual/?stepsproperty.htm
http://visualbuild.com/Manual/?findstepmethod.htm
http://visualbuild.com/Manual/?stepitemproperty.htm
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.