Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
We have a maven job Foo with 10 downstream dependencies. In the Job page all the dependencies are noted clearly as well as on the the actual build page. Hower some of the downstream Jobs show with "(none)" instead of their build number and the log of the Foo build shows the "Triggering a new build of xxxx" lines, but only for 7 out of the 10 that should be triggered.
Jenkins clearly knows about the SNAPSHOT dependency and shows the downstream relationship correctly, yet it 'forgets' to trigger some of the jobs.
Confirmed with 1.550 and 1.551.
Attachments
Issue Links
- depends on
-
JENKINS-26450 Equivalent to blockTriggerWhenBuilding configured on downstream side
-
- Open
-
- is duplicated by
-
JENKINS-13601 Jenkins maven job does not trigger all downstream jobs
-
- Resolved
-
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/maven/AbstractMavenProject.java
src/main/java/hudson/maven/MavenModuleSet.java
src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
src/main/webapp/blockTriggerWhenBuilding.html
src/test/java/hudson/maven/MavenModuleSetTest.java
http://jenkins-ci.org/commit/maven-plugin/8aed1aa0e352d51229daba470d1664488a3441c4
Log:
JENKINS-21903Amending 0ff6a1b with flag blockTriggerWhenBuilding to control the new behavior, rather than overloading blockBuildWhenUpstreamBuilding.Allows more detailed control that may be needed in some setups.
Also preserves the default behavior from older plugin versions to avoid surprises.