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

shows two identical test graphs when junit is also enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Hello, thanks for this very excellent plug-in! One issue I noticed is that if I
      have multiple kinds of test reports, say some JUnit and PHPUnit, and I enable
      both JUnit and xUnit, I will get two identical test graphs on the job page, both
      with the aggregated results. Of course, I only want one. This could be solved in
      a few ways:

      1. xUnit could check if JUnit is enabled also for this build, and not add the
      graph if so.

      2. xUnit could provide the ability to take JUnit results, which it wouldn't of
      course need to transform, but then for this use case you wouldn't need to enable
      two test reporting plugins.

      Thanks again, looking forward to your thoughts.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          Yes, xUnit plugin and Hudson JUnit module should be closer.
          I'm going to use the existing JUnit graph if Junit is enabled.

          Show
          gbois Gregory Boissinot added a comment - Yes, xUnit plugin and Hudson JUnit module should be closer. I'm going to use the existing JUnit graph if Junit is enabled.
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed in trunk

          Show
          gbois Gregory Boissinot added a comment - Fixed in trunk
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : gbois
          Path:
          trunk/hudson/plugins/xunit/pom.xml
          trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java
          http://jenkins-ci.org/commit/27110
          Log:
          Fixed JENKINS-4945

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : gbois Path: trunk/hudson/plugins/xunit/pom.xml trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java http://jenkins-ci.org/commit/27110 Log: Fixed JENKINS-4945

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              mcrooney mcrooney
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: