This is an existing issue in Jenkins 1.480.3. It got resolved 1.509.1. The link of jira is as follows.
Jenkins "run only if build succeeds" still runs for unsuccessful builds
-
30-05-2022 - |
Question
I'am using Jenkins for continuous integration and I have some projects having upstream and downstream build connections. I have selected Run only if build succeeds
in each project's configuration. However, the post-build step is still getting triggered for unstable builds. Jenkins version is 1.480.3 . I wonder if is there anyone having a similar experience.
Thanks in advance
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow