Is there any way to use groovy to easily get to a variable something like "if any previous step failed" and bool as an answer?
I know I can getParent till I get to master and check if any child is failed, but that's not a pretty way to do this in my opinion.