In Blue Ocean the last step is always marked failed when a different step has failed.
The step that actually failed is a few steps earlier.
I have deleteDir() at the very last in try-catch-finally on every parallel build node. This on order to clean up. It says this step has failed, even though it has not.
"Recursively delete the current directory from the workspace"
Blue Ocean has this step marked as failed.
It is always the last step that fails, in addition to the actually failed step.
If I remove deleteDir() it is the previous step that now is marked as failed.
The steps that are executed after the actual failed step is within a finally clause of try-catch.