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

Multiple Test Reports Graphs and Links in Job Page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • junit-plugin, xunit-plugin
    • Jenkins version 1.594
      JUnit Plugin Version - 1.3
      xUnit Plugin Version - 1.92
      All the above are latest at the time of posting this issue.

    Description

      I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

      I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

      Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.

      I've attached the screen shot of the job page and config page for reference.

      And the config.xml has the following content under the publishers tag

      <publishers>
      <xunit plugin="xunit@1.90"></>
      <hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.9.5"></>
      <hudson.tasks.ArtifactArchiver></>
      </publishers>

      Removed tag contents for brevity.

      Attachments

        Issue Links

          Activity

            svvivek Vivekanand SV added a comment -

            Thanks for the fix, its working perfectly.

            svvivek Vivekanand SV added a comment - Thanks for the fix, its working perfectly.

            Still experiencing this issue on JUnit Plugin v1.6, Jenkins 1.590.

            desfar Shawn Scrivner added a comment - Still experiencing this issue on JUnit Plugin v1.6, Jenkins 1.590.
            barbaragl barbara added a comment -

            Still also experiencing this issue.

            Configuration :
            Jenkins 1.651.1
            JUnit Plugin 1.2-beta-4
            Xunit Plugin 1.101

            barbaragl barbara added a comment - Still also experiencing this issue. Configuration : Jenkins 1.651.1 JUnit Plugin 1.2-beta-4 Xunit Plugin 1.101
            ashu3112 Ashish Rathi added a comment -

            This issue has still not been resolved,
            I am using XUnit plugin and JUnit component.
            I can see multiple "Latest Test Result" links,along with Multiple graphs.
            Also the graphs have no data,where as the test cases can be seen by clicking on the "Latest Test Result" link.
            Also the Test Result Trend has always the latest build number only and is always empty,

            ashu3112 Ashish Rathi added a comment - This issue has still not been resolved, I am using XUnit plugin and JUnit component. I can see multiple "Latest Test Result" links,along with Multiple graphs. Also the graphs have no data,where as the test cases can be seen by clicking on the "Latest Test Result" link. Also the Test Result Trend has always the latest build number only and is always empty,
            nfalco Nikolas Falco added a comment - - edited

            I can not replicate what ashu3112 wrote with recent version of XUnit 3 plugin

            nfalco Nikolas Falco added a comment - - edited I can not replicate what ashu3112 wrote with recent version of XUnit 3 plugin

            People

              nfalco Nikolas Falco
              svvivek Vivekanand SV
              Votes:
              18 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: