I have a situation where I have two sequential steps, for example:
The do-special-build step has a complex step execution condition. If this returns false, I want to run do-generic-build instead.
I am currently doing this by reversing the complex condition, but this seems tedious.
Is there a way to set a condition on "if the previous step was skipped"? I saw an earlier post about checking to see if a step timed out. I thought maybe I could call step.getPreviousSibling().getStatus(), but "SKIPPED" is not one of the options (IDLE, WAITING, SUCCESSFUL, FAILED, TIMEOUT, CANCELLED, RUNNING).