How do I mark declarative pipeline job as failure when a fail occurs with failfast set to true?
When a parallel build fails with failfast set to true it will mark the entire build as 'ABORTED'. I would like for it to be mark as 'FAILURE' instead.
How do I mark declarative pipeline job as failure when a fail occurs with failfast set to true?
When a parallel build fails with failfast set to true it will mark the entire build as 'ABORTED'. I would like for it to be mark as 'FAILURE' instead.
Haven't used failfast, but have used `error` which will mark the build as failed.
You can also set the build result to be FAILURE explicitly: https://support.cloudbees.com/hc/en-us/articles/218554077-How-to-set-current-build-result-in-Pipeline-