In Blue Ocean the last step is marked 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.
"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 fails.