-
Bug
-
Resolution: Fixed
-
Major
-
None
This is similar to issue JENKINS-11082, issue JENKINS-9263, issue JENKINS-5184.
The only difference is how the "Projects to build" value is set.
In my case I build an environment variable "$TO_TRIGGER" dynamically and simply put it in the text box, "parameterized trigger" does the job of expanding it to the job names well. The only problem is that although the projects are triggered and in the console log it is listed as if they were triggered successfully, see log:
Waiting for the completion of trigger1
trigger1 trigger1----#2 completed. Result was SUCCESS
Build step 'Trigger/call builds on other projects' changed build result to SUCCESS
Finished: SUCCESS
They still don't appear as downstream builds, nor do they upstream build appear as upstream build in the downstream build.
The pull request[1] from wolfs will fix this at the build level, and list them on the build page, for the triggered downstream builds.
And the triggered builds will have started by Upstream cause linking to the correct build.
However the project page will not be able to display these links as the parameters do not exist so cannot be evaluated, which is why there are not shown in the upstream/downstream list.
[1] https://github.com/jenkinsci/parameterized-trigger-plugin/pull/19