Thanks a lot.
i am going to write only this return $RESULT;
to the action field in the condition node. Please see the attached pic for more info.
Hi,
It looks like you have two fact builds running in sequence in your jobstream? Did you want to check the success or failure of both, or just the second one? If you want to check them both, you will need them to set different variables, otherwise the second build will overwrite the contents of $RESULT from the first build. You can change the name of the variable in the properties of the fact build nodes in your jobstream - eg have the first build set $RESULT and the second build set $RESULT2. You can then check both variables in your condition node.
Alternatively, you could add an extra condition node after the first build to check if it failed.
A very important step not to forget is to set the "Action on failure" to be "Continue" in the properties of both fact build nodes - otherwise a failure will stop the jobstream from progressing to your condition node(s).
One observation... It looks like your jobstream could loop infinitely, running the same two builds over and over and over. Is that your intent?
Cheers!
MF.