-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.263.1
MSTest plugin 1.0.0
JUnit Plugin 1.48
ECharts API Plugin 4.9.0-2
When I click Build #2039 in the "Test Result Trend" chart at <https://SERVER/jenkins/job/REPO/job/master/>, the Web browser navigates to <https://SERVER/jenkins/job/REPO/job/master/2039/test/>, which immediately redirects to <https://SERVER/jenkins/job/REPO/job/master/2039/>. It should instead navigate to the "Test Result" page at <https://SERVER/jenkins/job/REPO/job/master/2039/testReport/>.
This might be fallout from the JENKINS-62096 ECharts migration. I don't think this is specific to the mstest plugin, because the build.xml file has a <hudson.tasks.junit.TestResultAction plugin="junit@1.48"> element that has neither "test" nor "testReport" in XML content or attributes.
At <https://SERVER/jenkins/job/REPO/job/master/test/>, the chart correctly links to <https://SERVER/jenkins/job/REPO/job/master/2039/testReport/>. This version of the trend chart however seems to use the deprecated TestResultProjectAction.doTrend method rather than ECharts.
Related source code:
- MSTestPublisher.getProjectAction creates an instance of TestResultProjectAction: MSTestPublisher.java in mstest-plugin
- TestResultProjectAction.getUrlName() returns "test": TestResultProjectAction.java in junit-plugin
- AbstractTestResultAction.getUrlName() returns "testReport": AbstractTestResultAction.java in junit-plugin
- it="${from}": TestResultProjectAction/floatingBox.jelly in junit-plugin
- tool="${it.urlName}": trend-chart.jelly in echarts-api-plugin
- renderTrendChart appends the value of the tool attribute to the URL: trend-chart.js in echarts-api-plugin
- is caused by
-
JENKINS-62096 Migrate History graph to ECharts
- Resolved