-
New Feature
-
Resolution: Fixed
-
Minor
-
None
If you create a job that runs other build that returns with currentBuild.result = 'ABORTED', the parent job will render its status as FAILED, while it should be ABORTED as well. It is visible same in blueocean and build-history.
To replicate create two piplelines,
ParentPipeline with:
node any { stage ('BuildChild') { build 'ChildPipeline' } }
and the other:
node any { stage ('ChildBuilding') { currentBuild.result = 'ABORTED' } }
You will see that result of parent is rendered as failed