Consider a job (downstream job) that watches several other jobs (upstream jobs) and is triggered when anyone of them succeeds. Then the downstream job goes into quiet period. During that period upstream jobs finish up multiple times and later Jenkins shows all triggered upstream jobs inside downstream job build info.
Now display-upstream-changes-plugin doesn't show changes from multiple upstream projects - only from the first one.
My current workaround for this is to construct artifacts with redmine issue numbers and scm hashes with help of downstream job rather than seeing that info on it's changes page extended with this plugin.
SCM/JIRA link daemon
added a comment - Code changed in jenkins
User: Rob Petti
Path:
src/main/java/jenkins/plugins/displayupstreamchanges/DisplayUpstreamChangesSummaryAction.java
http://jenkins-ci.org/commit/display-upstream-changes-plugin/fd7f9994016539d62e1105972fba42adecb19a1c
Log:
JENKINS-27048 possible fix for issue
I'm happy with your patch. Now every commit's message is visible on a single status page.
I'll be using your snapshot until plugin version updates.
Maxim Nikolaev
added a comment - Thank you, Rob!
I'm happy with your patch. Now every commit's message is visible on a single status page.
I'll be using your snapshot until plugin version updates.
I can confirm this issue still exists on Jenkins 2.278 with Display Upstream Changes 0.3.2
Upstream changes shows only the last job which triggers the downstream job.
Philippos
added a comment - - edited I can confirm this issue still exists on Jenkins 2.278 with Display Upstream Changes 0.3.2
Upstream changes shows only the last job which triggers the downstream job.
Unassigned
Maxim Nikolaev
Votes:
0Vote for this issue
Watchers:
4Start watching this issue
Created:
Updated:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
Code changed in jenkins
User: Rob Petti
Path:
src/main/java/jenkins/plugins/displayupstreamchanges/DisplayUpstreamChangesSummaryAction.java
http://jenkins-ci.org/commit/display-upstream-changes-plugin/fd7f9994016539d62e1105972fba42adecb19a1c
Log:
JENKINS-27048 possible fix for issue