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

Test Result column does not work with aggregated test results

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • extra-columns-plugin
    • None
    • Jenkins ver. 1.457
      Extra columns plugin 1.2

      If the job has "aggregated test result" configured, the column displays the correct test results, but the link seems to go to $job/lastCompletedBuild/testReport/ instead of $job/lastCompletedBuild/aggregatedTestReport/. Hence, if a user clicks the link, he/she arrives at the build page instead of the result page and has to navigate one step further. It's not a big deal, but would be nice to have this fixed. I guess it's a bit similar to JENKINS-9637.

          [JENKINS-13679] Test Result column does not work with aggregated test results

          Fred G added a comment -

          Unfortunately this is a problem in Jenkins core. I'll try to give it another shot, can't promise a time frame though.

          I'm open for any suggestions that help to solve this problem.

          Fred G added a comment - Unfortunately this is a problem in Jenkins core. I'll try to give it another shot, can't promise a time frame though. I'm open for any suggestions that help to solve this problem.

          Jim Bim added a comment -

          How about using
          job.lastCompletedBuild.testResultAction.urlName? it should return the correct url in all cases regardless of the actual test result implementation. I believe that this approach is an easy solution for JENKINS-9637 as well.

          Jim Bim added a comment - How about using job.lastCompletedBuild.testResultAction.urlName? it should return the correct url in all cases regardless of the actual test result implementation. I believe that this approach is an easy solution for JENKINS-9637 as well.

          Code changed in jenkins
          User: Fred G
          Path:
          src/main/resources/jenkins/plugins/extracolumns/TestResultColumn/column.jelly
          http://jenkins-ci.org/commit/extra-columns-plugin/f0d8f81edb16fae925ab4b39d050a2c9300e68c7
          Log:
          [FIXED JENKINS-13679] Fixed link to aggregated test results

          Compare: https://github.com/jenkinsci/extra-columns-plugin/compare/b5e4df8c5b14...f0d8f81edb16

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fred G Path: src/main/resources/jenkins/plugins/extracolumns/TestResultColumn/column.jelly http://jenkins-ci.org/commit/extra-columns-plugin/f0d8f81edb16fae925ab4b39d050a2c9300e68c7 Log: [FIXED JENKINS-13679] Fixed link to aggregated test results Compare: https://github.com/jenkinsci/extra-columns-plugin/compare/b5e4df8c5b14...f0d8f81edb16

            fredg Fred G
            jim_bim Jim Bim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: