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

Problems with "Latest Test Result" and "Aggregated Test Result" links

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      On the main page of a free-style project that aggregates test results from downstream projects,
      the "Latest Test Result" link points to
      http://jenkins/job/testJob/lastCompletedBuild/testReport/ instead of
      http://jenkins/job/testJob/lastCompletedBuild/aggregatedTestReport/ .
      The link should also say "Latest Aggregated Test Result".

      In Chrome and IE this leads to 404s. Firefox automatically shows the parent page (that's actually why I didn't notice this bug earlier).

      The underlying problem is that in main.jelly the following check is always true:

      ${tr.class.name != 'hudson.tasks.test.AggregatedTestResultAction}

      (the class name is in fact "hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction" for a free-style project with aggregated test results)
      and

      ${it.lastCompletedBuild.aggregatedTestResultAction}

      always returns null, because AggregatedTestResultAction is not assigned to the job.

      I'm wondering if the AggregatedTestResultAction is obsolete (eventhough MatrixTestResult extends it)?

          [JENKINS-9637] Problems with "Latest Test Result" and "Aggregated Test Result" links

          Fred G created issue -
          Fred G made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Fred G made changes -
          Link New: This issue is duplicated by JENKINS-13679 [ JENKINS-13679 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.509.4-fixed
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139811 ] New: JNJira + In-Review [ 188695 ]

            abayer Andrew Bayer
            fredg Fred G
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: