If I have a stage with a step in it:
With a post block for the stage:
I actually get the:
telling me that the stage was a SUCCESS, not a FAILURE like the:
catchError(..., stageResult: hudson.model.Result.FAILURE) is supposed to be making it.
In both the stage view and the Blue Ocean view, it does show as a failed stage. The post processing block just doesn't see it that way.
As an aside, is there a variable set for the stage that I could use in my println above so that I could just do a single println in the always block rather than having to repeat it through the success, unstable and failure blocks?