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

Multiple Test Reports Graphs and Links in Job Page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: junit-plugin, xunit-plugin
    • Labels:
    • Environment:
      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.
    • Similar Issues:

      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

            Hide
            jcztery Jacek Tomaka added a comment -

            Thank You for that fix! It was annoying me for a while now. Great job!

            Show
            jcztery Jacek Tomaka added a comment - Thank You for that fix! It was annoying me for a while now. Great job!
            Hide
            svvivek Vivekanand SV added a comment -

            Thanks for the fix, its working perfectly.

            Show
            svvivek Vivekanand SV added a comment - Thanks for the fix, its working perfectly.
            Hide
            desfar Shawn Scrivner added a comment -

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

            Show
            desfar Shawn Scrivner added a comment - Still experiencing this issue on JUnit Plugin v1.6, Jenkins 1.590.
            Hide
            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

            Show
            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
            Hide
            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,

            Show
            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,

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                svvivek Vivekanand SV
              • Votes:
                17 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated: