|
#1
|
|||
|
|||
Set Result of SubroutineStep
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 |
#2
|
|||
|
|||
Store the result in a temporary macro using a Set Macro or Run Script step.
|
#3
|
|||
|
|||
??
How do I update the status of the subroutine call step in my main build ?
|
#4
|
|||
|
|||
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.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|