Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64582

Clicking the test trend chart opens wrong per-build URL ("test", not "testResult")

XMLWordPrintable

      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:

            Unassigned Unassigned
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: