• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      We're building a project with Hudson using Maven2. We're also using the Maven
      Cobertura plugin to generate coverage reports. This means the tests will be
      executed twice, once with instrumentation and once without.

      Hudson is reporting the results from both runs although there is only a single
      set of results in target/surefire-reports/*.xml. Hudson should only report a
      single set of results, preferably those within target/surefire-reports.

          [JENKINS-1557] Duplicate test results with Maven2 projects

          Olivier Lamy added a comment -

          fix for 1.407

          Olivier Lamy added a comment - fix for 1.407

          dogfood added a comment -

          Integrated in jenkins_main_trunk #669
          Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice
          [FIXED JENKINS-1557] Duplicate test results with Maven2 projects

          Martijn Baay : 0fff2e929015d50aa0811ae323503b8c6423ad0f
          Files :

          • maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java

          Olivier Lamy : 9fc376ab1548fb3e8650a1a28435761ec5b97e27
          Files :

          • test/src/test/resources/hudson/maven/JENKINS-1557.zip
          • maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          • test/src/test/java/hudson/maven/Maven3BuildTest.java

          dogfood added a comment - Integrated in jenkins_main_trunk #669 Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice [FIXED JENKINS-1557] Duplicate test results with Maven2 projects Martijn Baay : 0fff2e929015d50aa0811ae323503b8c6423ad0f Files : maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java Olivier Lamy : 9fc376ab1548fb3e8650a1a28435761ec5b97e27 Files : test/src/test/resources/hudson/maven/ JENKINS-1557 .zip maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java test/src/test/java/hudson/maven/Maven3BuildTest.java

          Code changed in jenkins
          User: Martijn Baay
          Path:
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/jenkins/0fff2e929015d50aa0811ae323503b8c6423ad0f
          Log:
          Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martijn Baay Path: maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/jenkins/0fff2e929015d50aa0811ae323503b8c6423ad0f Log: Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          test/src/test/java/hudson/maven/Maven3BuildTest.java
          test/src/test/resources/hudson/maven/JENKINS-1557.zip
          http://jenkins-ci.org/commit/jenkins/9fc376ab1548fb3e8650a1a28435761ec5b97e27
          Log:
          [FIXED JENKINS-1557] Duplicate test results with Maven2 projects
          merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f

          it test added

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java test/src/test/java/hudson/maven/Maven3BuildTest.java test/src/test/resources/hudson/maven/ JENKINS-1557 .zip http://jenkins-ci.org/commit/jenkins/9fc376ab1548fb3e8650a1a28435761ec5b97e27 Log: [FIXED JENKINS-1557] Duplicate test results with Maven2 projects merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f it test added

          Code changed in jenkins
          User: Martijn Baay
          Path:
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/jenkins/0fff2e929015d50aa0811ae323503b8c6423ad0f
          Log:
          Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martijn Baay Path: maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/jenkins/0fff2e929015d50aa0811ae323503b8c6423ad0f Log: Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          test/src/test/java/hudson/maven/Maven3BuildTest.java
          test/src/test/resources/hudson/maven/JENKINS-1557.zip
          http://jenkins-ci.org/commit/jenkins/9fc376ab1548fb3e8650a1a28435761ec5b97e27
          Log:
          [FIXED JENKINS-1557] Duplicate test results with Maven2 projects
          merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f

          it test added

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java test/src/test/java/hudson/maven/Maven3BuildTest.java test/src/test/resources/hudson/maven/ JENKINS-1557 .zip http://jenkins-ci.org/commit/jenkins/9fc376ab1548fb3e8650a1a28435761ec5b97e27 Log: [FIXED JENKINS-1557] Duplicate test results with Maven2 projects merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f it test added

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/jenkins/b0a39275cc85b2a3d94ecfba77b1349f86780d09
          Log:
          Revert 4440e0f420242364975265f6db5c27bee13de4e3

          It breaks some already fixed issues like JENKINS-1557

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/jenkins/b0a39275cc85b2a3d94ecfba77b1349f86780d09 Log: Revert 4440e0f420242364975265f6db5c27bee13de4e3 It breaks some already fixed issues like JENKINS-1557

          Code changed in jenkins
          User: Martijn Baay
          Path:
          src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/maven-plugin/144a92f35d5d49871684f9190588ac40bf9b7a96
          Log:
          Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice

          Originally-Committed-As: 0fff2e929015d50aa0811ae323503b8c6423ad0f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martijn Baay Path: src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/maven-plugin/144a92f35d5d49871684f9190588ac40bf9b7a96 Log: Fixed JENKINS-1557 duplicate test results. However it does not take into account the fact that the same test suite might be ran twice Originally-Committed-As: 0fff2e929015d50aa0811ae323503b8c6423ad0f

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/maven-plugin/dc8887d2a5d6b4bab87cd1b14007c97a4fdeb01e
          Log:
          [FIXED JENKINS-1557] Duplicate test results with Maven2 projects
          merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f

          it test added

          Originally-Committed-As: 9fc376ab1548fb3e8650a1a28435761ec5b97e27

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/maven-plugin/dc8887d2a5d6b4bab87cd1b14007c97a4fdeb01e Log: [FIXED JENKINS-1557] Duplicate test results with Maven2 projects merged with some modifications from https://github.com/kaydouble-u/jenkins/commit/0fff2e929015d50aa0811ae323503b8c6423ad0f it test added Originally-Committed-As: 9fc376ab1548fb3e8650a1a28435761ec5b97e27

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          src/main/java/hudson/maven/reporters/SurefireArchiver.java
          http://jenkins-ci.org/commit/maven-plugin/25ee31812fc007b87f49d87f862a8eff5d1751bf
          Log:
          Revert 4440e0f420242364975265f6db5c27bee13de4e3

          It breaks some already fixed issues like JENKINS-1557

          Originally-Committed-As: b0a39275cc85b2a3d94ecfba77b1349f86780d09

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: src/main/java/hudson/maven/reporters/SurefireArchiver.java http://jenkins-ci.org/commit/maven-plugin/25ee31812fc007b87f49d87f862a8eff5d1751bf Log: Revert 4440e0f420242364975265f6db5c27bee13de4e3 It breaks some already fixed issues like JENKINS-1557 Originally-Committed-As: b0a39275cc85b2a3d94ecfba77b1349f86780d09

            olamy Olivier Lamy
            paulamitchell paulamitchell
            Votes:
            38 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: