[JIRA] (JENKINS-59253) "Static Analysis Warnings Trend" chart links to details by build name, not build number

3 views
Skip to first unread message

witt.austin@gmail.com (JIRA)

unread,
Sep 5, 2019, 4:24:02 PM9/5/19
to jenkinsc...@googlegroups.com
Austin created an issue
 
Jenkins / Bug JENKINS-59253
"Static Analysis Warnings Trend" chart links to details by build name, not build number
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: warnings-ng graph.png
Components: warnings-ng-plugin
Created: 2019-09-05 20:23
Priority: Minor Minor
Reporter: Austin

When looking at the overview of a branch of a project that has collected static analysis results with warnings-ng:6.0.0, I see something like this:

Each point on the x-axis is labelled with the display name of the build, which is good!

However, when clicking on the graph to "drill down" into a specific build's results, the display name is used to construct the URL. This does not work - the build number should be used, instead.

For example, clicking into the #6 - 2.0.2-SNAPSHOT build item on the warnings-ng graph, takes me to a URL in this form:

my-jenkins-server/job/GitHubOrg/job/repo-name/job/BRANCH_NAME/6%20-%202.0.2-SNAPSHOT/analysis

which results in HTTP error 404.

Instead, it should take me to

my-jenkins-server/job/GitHubOrg/job/repo-name/job/BRANCH_NAME/6/analysis

If I correct the URL in my URL bar, I am taken to the actual static analysis summary page that I wanted to arrive at.

 

I tried to locate the code responsible for this chart so that I could send a PR along with this issue, but I wasn't able to track down where that chart is configured.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
Sep 5, 2019, 6:59:01 PM9/5/19
to jenkinsc...@googlegroups.com
Ulli Hafner closed an issue as Duplicate
Change By: Ulli Hafner
Status: Open Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages