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

Merge publishers (junit) with the same filename pattern

    Details

    • Similar Issues:

      Description

      When a Maven build contains multiple surefire/failsafe steps with the same target directory (which is okay if the tests don't overlap, since those plugins generate unique file names), test results are recorded multiple times:

      [withMaven] junitPublisher - Archive test results for Maven artifact XXX:4.0.0-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default-integration-test): test/target/failsafe-reports/*.xml
      Recording test results
      [withMaven] junitPublisher - Archive test results for Maven artifact XXX:4.0.0-SNAPSHOT generated by maven-failsafe-plugin:integration-test (gui-integration-test): test/target/failsafe-reports/*.xml
      Recording test results
      

      This should be avoided, since it counts every test multiple times. (Maybe this could also be fixed in the junit plugin?)

        Attachments

          Activity

          Hide
          cleclerc Cyrille Le Clerc added a comment -

          Fixed in pipeline-maven-3.6.8-beta-1 , Tobias Gruetzmacher can you please test?

          Release and release notes:
          https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.6.8-beta-1

          Show
          cleclerc Cyrille Le Clerc added a comment - Fixed in pipeline-maven-3.6.8-beta-1 , Tobias Gruetzmacher can you please test? Release and release notes: https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.6.8-beta-1
          Hide
          cleclerc Cyrille Le Clerc added a comment -

          Fixed in 3.6.8

          Show
          cleclerc Cyrille Le Clerc added a comment - Fixed in 3.6.8

            People

            • Assignee:
              cleclerc Cyrille Le Clerc
              Reporter:
              tgr Tobias Gruetzmacher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: