Jenkins “run only if build succeeds” still runs for unsuccessful builds

↘锁芯ラ 提交于 2020-01-13 10:08:03

问题


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


回答1:


This is an existing issue in Jenkins 1.480.3. It got resolved 1.509.1. The link of jira is as follows.

https://issues.jenkins-ci.org/browse/JENKINS-14102



来源:https://stackoverflow.com/questions/16829715/jenkins-run-only-if-build-succeeds-still-runs-for-unsuccessful-builds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!