View Full Version : Set Result of SubroutineStep
AndyFarr
06-13-2005, 08:41 AM
I have a build that uses allot of Subroutines. I would like to set the Result Status of the Subroutine call based on what happened to one or more parts of the subroutine. Is there any way of returning a pass/fail in a sub routine ?
This would be to mainly indicate visually what happened in the main build screen.
Andy
kinook
06-13-2005, 08:57 AM
Store the result in a temporary macro using a Set Macro or Run Script step.
AndyFarr
06-13-2005, 09:02 AM
How do I update the status of the subroutine call step in my main build ?
kinook
06-13-2005, 09:09 AM
You can't update the status of the Subroutine Call step. Typically, you would allow the build to fail in the subroutine if something fails there. If you want the build to continue even if a step in the subroutine fails, check the status (stored in a temp macro by the subroutine) in the step following the Subroutine Call step and do what you want to indicate that a failure occurred in the subroutine.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.