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

Test Result column does not work with aggregated test results

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • extra-columns-plugin
    • None
    • Jenkins ver. 1.457
      Extra columns plugin 1.2

    Description

      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.

      Attachments

        Issue Links

          Activity

            fredg 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.

            fredg 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 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 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_issue_link 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

            People

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

              Dates

                Created:
                Updated:
                Resolved: