-
Bug
-
Resolution: Not A Defect
-
Critical
-
Jenkins: 2.198
Hello,
I have the following declarative pipeline:
pipeline { agent any options { parallelsAlwaysFailFast() } stages { stage('A') { parallel { stage('A1') { steps { error 'fail' } } stage('A2') { steps { script { catchError(stageResult: 'FAILURE') { println 'a2' sleep 10 } } } } } } } }
The result is ABORTED instead of FAILURE.
I think that somehow aborting a stage that contains a catchError affects the build result.
For me the expected result is FAILURE