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

Test result link displays twice on matrix project page

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins version 1.578

      When using the built-in junit test result publisher with matrix projects, the parent project page display two links to the latest test results (see ). Both links are correct and point to the same place.

          [JENKINS-24608] Test result link displays twice on matrix project page

          Michael Rose created issue -
          Michael Rose made changes -
          Description Original: When using the built-in junit test result publisher with matrix projects, the parent project page display two links to the latest test results (see !two_test_result_link_on_parent_matrix_project.jpg!). Both links are correct and point to the same place. New: When using the built-in junit test result publisher with matrix projects, the parent project page display two links to the latest test results (see !two_test_result_link_on_parent_matrix_project.jpg|thumbnail!). Both links are correct and point to the same place.

          Michael Rose added a comment -

          I originally came across this issue when testing out the workaround for JENKINS-12205, but the same problem still occurs even when the xunit plugin is disabled.

          Michael Rose added a comment - I originally came across this issue when testing out the workaround for JENKINS-12205 , but the same problem still occurs even when the xunit plugin is disabled.

          Daniel Beck added a comment -

          This seems to be caused by: https://github.com/jenkinsci/matrix-project-plugin/blob/master/src/main/resources/hudson/matrix/MatrixProject/index.jelly

          The first is the aggregatedTestResultAction, the other is contributed by the hudson.tasks.test.TestResultProjectAction added to the project.

          I have little experience with matrix projects, and don't know what the intention behind this is.

          Reassigning to Matrix Project Plugin.

          Daniel Beck added a comment - This seems to be caused by: https://github.com/jenkinsci/matrix-project-plugin/blob/master/src/main/resources/hudson/matrix/MatrixProject/index.jelly The first is the aggregatedTestResultAction , the other is contributed by the hudson.tasks.test.TestResultProjectAction added to the project. I have little experience with matrix projects, and don't know what the intention behind this is. Reassigning to Matrix Project Plugin.
          Daniel Beck made changes -
          Component/s New: matrix-project [ 18765 ]
          Component/s Original: core [ 15593 ]

          Stephen Cavender added a comment - - edited

          Experiencing the same issue, has a workaround been found?
          My projects have two Test Results links (both pointing to the same, correct location) and two Test Result Trend graphs.

          Stephen Cavender added a comment - - edited Experiencing the same issue, has a workaround been found? My projects have two Test Results links (both pointing to the same, correct location) and two Test Result Trend graphs.

          Watertight Door added a comment - - edited

          I'm seeing this occur, too. FWIW, I'm using Jenkins 1.588, xUnit 1.92, and the Matrix Plugin 1.4
          Actually, I commented on this issue without correctly reading it first. My issue is NOT related to the matrix project plug-in – I am seeing this with a free-style project. Sorry ...

          Watertight Door added a comment - - edited I'm seeing this occur, too. FWIW, I'm using Jenkins 1.588, xUnit 1.92, and the Matrix Plugin 1.4 Actually, I commented on this issue without correctly reading it first. My issue is NOT related to the matrix project plug-in – I am seeing this with a free-style project. Sorry ...

          Gregory added a comment -

          I have the same issue with xUnit and I confirm that it is not related to matrix project - Jenkins ver. 1.591 - xUnit ver. 1.92

          Gregory added a comment - I have the same issue with xUnit and I confirm that it is not related to matrix project - Jenkins ver. 1.591 - xUnit ver. 1.92

          Eloy Lafuente added a comment -

          Same here, and without matrix projects at all:

          http://integration.moodle.org/view/master/job/20.%20Run%20phpunit%20UnitTests%20(master)/

          Both JUnit (pinned) and xUnit plugins installed. Only using the later in my post-build tasks.

          Eloy Lafuente added a comment - Same here, and without matrix projects at all: http://integration.moodle.org/view/master/job/20.%20Run%20phpunit%20UnitTests%20(master)/ Both JUnit (pinned) and xUnit plugins installed. Only using the later in my post-build tasks.

          Jon Starbird added a comment -

          Also seeing the same thing, will add that the Trend reports are also Duplicated.
          Using Publish NUnit. Jenkins 1580.1 and NUnit 0.16.

          Jon Starbird added a comment - Also seeing the same thing, will add that the Trend reports are also Duplicated. Using Publish NUnit. Jenkins 1580.1 and NUnit 0.16.

            kohsuke Kohsuke Kawaguchi
            mrose Michael Rose
            Votes:
            9 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: