[JIRA] (JENKINS-59953) Job's Promotion Status generating invalid links

0 views
Skip to first unread message

craig.lutgen@cybersecureips.com (JIRA)

unread,
Oct 27, 2019, 11:11:03 AM10/27/19
to jenkinsc...@googlegroups.com
Craig Lutgen created an issue
 
Jenkins / Bug JENKINS-59953
Job's Promotion Status generating invalid links
Issue Type: Bug Bug
Assignee: Oleg Nenashev
Attachments: qa-promotion-9-build-xml.png, qa-promotion-9-links-wrong.png
Components: promoted-builds-plugin
Created: 2019-10-27 15:10
Environment: Jenkins for Windows 2.201
Promoted Builds Plugin version 3.4
Labels: Promoted-Builds promotion
Priority: Major Major
Reporter: Craig Lutgen

After successfully generating a number of build promotions of a job, visiting the Job Promotion Status page lists all the appropriate promotion builds. However, the link to the Job promotion is not valid. It is referencing a link with the source build # the same as the promotion build number.  For instance, in the screen shots attached, if base job's build #34 is promoted with QA promotion build #9, the link is generated as:

http://somewhere.com/job/xxx/job/yyy/9/promotion/QA/promotionBuild/9/

 

The correct link should be

http://somewhere.com/job/xxx/job/yyy/34/promotion/QA/promotionBuild/9/

 

The build results in build.xml are correct (see attached). It is just the rendering of the link that is incorrect.

 

This is a new installation, so I'm not sure if it is related to other issues reported against the upgrade to 3.3.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Dec 3, 2019, 7:14:02 AM12/3/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-59953
 
Re: Job's Promotion Status generating invalid links

Please try 3.5. https://github.com/jenkinsci/promoted-builds-plugin/releases/tag/promoted-builds-3.5 . It should have fixed the behavior on all Jenkins versions, but I am not 100% sure

craig.lutgen@cybersecureips.com (JIRA)

unread,
Dec 3, 2019, 3:46:05 PM12/3/19
to jenkinsc...@googlegroups.com

Looks good. I will close this issue.

craig.lutgen@cybersecureips.com (JIRA)

unread,
Dec 3, 2019, 3:47:02 PM12/3/19
to jenkinsc...@googlegroups.com
Craig Lutgen resolved as Fixed
 
Change By: Craig Lutgen
Status: Open Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages