Update to new WarningAction API and mark blocks properly on per-stage result.
All stages show up as UNSTABLE when one stage is unstable
All stages show up as UNSTABLE when only one stage should
It seems this is only a display problem: See https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/80 for a possible fix.
great! it was quite easy!
I took a quick look at the PR, and the display issue is only half of the problem, see https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/80#issuecomment-580458530. There will still be cases with the PR as it is today where you have no idea what stage caused the build to fail. That can only be fixed by starting to use WarningAction.