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

NUnit Plugin 0.14 - won't merge multiple xmls

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: nunit-plugin
    • Labels:
      None
    • Environment:
      Windows server 2003, Jenkins ver. 1.424.6
    • Similar Issues:

      Description

      When I tick the "Publish NUnit test result report" checkbox and fill in multiple xmls in the "Test Report XMLs" textbox, only 1 of those xmls is used for the test result.
      I tried the following:
      *.xml
      x1.xml, x2.xml
      but both give me the test result of only 1 xml.

        Attachments

          Activity

          Hide
          kinow Bruno P. Kinoshita added a comment -

          Pull request merged, should be fixed in 0.16

          Show
          kinow Bruno P. Kinoshita added a comment - Pull request merged, should be fixed in 0.16
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/hudson/plugins/nunit/NUnitReportTransformer.java
          http://jenkins-ci.org/commit/nunit-plugin/c97be8f9e824624c923722a80e67f12f37003fab
          Log:
          Merge pull request #7 from akoeplinger/master

          [FIXED JENKINS-14864] Merge multiple XMLs

          Compare: https://github.com/jenkinsci/nunit-plugin/compare/f73f7bdb0df8...c97be8f9e824

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/hudson/plugins/nunit/NUnitReportTransformer.java http://jenkins-ci.org/commit/nunit-plugin/c97be8f9e824624c923722a80e67f12f37003fab Log: Merge pull request #7 from akoeplinger/master [FIXED JENKINS-14864] Merge multiple XMLs Compare: https://github.com/jenkinsci/nunit-plugin/compare/f73f7bdb0df8...c97be8f9e824
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: David Churchill
          Path:
          src/main/java/hudson/plugins/nunit/NUnitReportTransformer.java
          http://jenkins-ci.org/commit/nunit-plugin/792cb7da50a5b1afa30790300ce24d6a02cd98eb
          Log:
          [FIXED JENKINS-14864] Merge multiple XMLs

          Applied patch provided by David Churchill in the Jenkins issue.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: David Churchill Path: src/main/java/hudson/plugins/nunit/NUnitReportTransformer.java http://jenkins-ci.org/commit/nunit-plugin/792cb7da50a5b1afa30790300ce24d6a02cd98eb Log: [FIXED JENKINS-14864] Merge multiple XMLs Applied patch provided by David Churchill in the Jenkins issue.
          Hide
          alexrp Alex Rønne Petersen added a comment -

          We are having this issue in the Mono project too. We run thousands of tests for each .NET profile (2.0, 4.0, 4.5, etc) and the results from previous profiles appear to be overwritten by profiles tested later in the process.

          Show
          alexrp Alex Rønne Petersen added a comment - We are having this issue in the Mono project too. We run thousands of tests for each .NET profile (2.0, 4.0, 4.5, etc) and the results from previous profiles appear to be overwritten by profiles tested later in the process.
          Hide
          dave_c David Churchill added a comment -

          I encountered this problem. In my case it occurred when there were multiple runs of the same test (one for debug, one for release). This resulted in the temporary jUnit file being overwritten by subsequent instances of the same test. A simple patch to fix this is attached.

          Show
          dave_c David Churchill added a comment - I encountered this problem. In my case it occurred when there were multiple runs of the same test (one for debug, one for release). This resulted in the temporary jUnit file being overwritten by subsequent instances of the same test. A simple patch to fix this is attached.

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              feexje Leen Dekeukeleire
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: