Hello. I am trying to mark stage as failed, but without printing "ERROR:".
I've tried this code:
But still stage is marked as success.
I've tried these 4:
Utils.markStageFailedAndContinued - marked as success
Utils.markStageSkippedForFailure - marked as success
Utils.markStageSkippedForUnstable - marked as success
Utils.markStageSkippedForConditional - marked as skipped
Looks like Utils.markStageSkippedForConditional works but the rest of them doesn't.
Any help would be appreciated.