-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins version: 2.387.1
Pugin in version: 487.va_823138eee8b_ (latest)
Hi,
After upgrading the Build Step plugin, it seems impossible to avoid making the upstream pipeline fail when a downstream pipeline fails, even setting "propagate: false". This happens only when the build step is called in sub-stages. I have attached three examples with their corresponding logs. In the first example, everything works as expected because the error in the downstream pipeline doesn't prevent calling the "success" post-action of the upstream pipeline. As you can see from the logs, the post-action "successful" is never called in the other two examples.
I think the change has been introduced with this pull request: https://github.com/jenkinsci/pipeline-buil.d-step-plugin/pull/107
I'm not sure this can be defined as a bug requiring a fix, but it would be great if you could let us know how we should handle downstream pipelines failing inside the inner "stages" block
Thank you for you help