Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: core
-
Labels:None
-
Similar Issues:
Description
If a project has both "Block build when upstream project is building" and "Block build when downstream project is building" selected, it will only block when downstream projects are building.
Example:
ProjectA -> ProjectB and both have "Block build when upstream project is building" and "Block build when downstream project is building" selected.
If ProjectB is running and ProjectA is launched, ProjectA blocks as expected.
If ProjectA is running and ProjectB is launched, Project B does not block. It does not respect the "Block when upstream project is building" option.
Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
changelog.html
core/src/main/java/hudson/model/AbstractProject.java
http://jenkins-ci.org/commit/jenkins/34fde3048316040fdb7e859eea3a0af24dd4ac85
Log:
[FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect.