-
Bug
-
Resolution: Fixed
-
Blocker
-
None
Configure Job A to trigger Job B twice, with differing parameters. Only the first instance of Job B will be triggered.
Eg.
Job A has two triggers:
Job B, predefined parameter BRANCH=master
Job B, predefined parameter BRANCH=testbranch
When Job A finishes building, it will trigger Job B with BRANCH=master, but it will not trigger it a second time with BRANCH=testbranch, as required.
- duplicates
-
JENKINS-8758 Trigger doesn't fire on failed jobs
-
- Resolved
-
-
JENKINS-8073 Cannot trigger more than one instance of the same job
-
- Resolved
-
- is duplicated by
-
JENKINS-9333 parameterized-trigger with multiple triggers only fires first one
-
- Resolved
-
-
JENKINS-9860 A project is only triggered for one parametrized configuration not all configured items.
-
- Resolved
-
Code changed in jenkins
User: Andrew Bayer
Path:
src/main/java/hudson/plugins/parameterizedtrigger/ParameterizedDependency.java
http://jenkins-ci.org/commit/parameterized-trigger-plugin/d22c7383bde9a497ab5b4740164334052c88e7db
Log:
[FIXED JENKINS-8985] Allow multiple ParameterizedDependencys for upstream:downstream.
Override equals and hashCode in ParameterizedDependency - Dependency's
equals and hashCode methods only pay any attention to the upstream and
downstream projects, which means that until now, if you had multiple
ParameterizedDependencys between the same upstream/downstream
projects, only the first would actually get added.
However, to actually have multiple triggers between the same projects
work, this depends on a related fix in Jenkins core, which should be
live in 1.414.
Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/401af57...d22c738