[JIRA] (JENKINS-60138) Link to job not correct for jobs in folders

3 views
Skip to first unread message

ian.williams1@telus.com (JIRA)

unread,
Nov 12, 2019, 2:08:02 AM11/12/19
to jenkinsc...@googlegroups.com
Ian Williams created an issue
 
Jenkins / Bug JENKINS-60138
Link to job not correct for jobs in folders
Issue Type: Bug Bug
Assignee: David Krischke
Components: global-build-stats-plugin
Created: 2019-11-12 07:07
Environment: Jenkins:2.121.1
global-build-stats-plugin:1.5
cloudbees-folder:6.5.1
Priority: Minor Minor
Reporter: Ian Williams

After clicking on a chart details and then in the Search Results, none of the links to the job, Build # (log) or the date (again to the build log) are constructed correctly when jobs are inside folders.

The links are constructed as:

JOB: ${JENKINS_URL}/job/topFolder/subFolder/jobName/
BUILD: ${JENKINS_URL}/job/topFolder/subFolder/jobName/1234

The correct construction should be;
JOB: ${JENKINS_URL}/job/topFolder/job/subFolder/job/jobName/
BUILD: ${JENKINS_URL}/job/topFolder/job/subFolder/job/jobName/1234

Must manually adjust url after the fact.

Should display .getFullName() but use .getUrl() in url construction.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages