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

Maven build with submodules with junit reports overwrite xunit attached reports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • xunit-plugin
    • None

      Our maven build has a few submodules and one of them performs a single unit test with surefire.

      In another module we run some unit tests without surefire and output to junit format.

      At the end we want to use this plugin to aggregate the 2 junit result files, but when we do that, the ones that come from maven always overwrite the ones specified by this plugin. The only way we get to see the graph properly is when the other module fails to produce a junit report.

      The maven-generated report gets included whether or not I specify it in the xunit config, as long as it exists.

            nfalco Nikolas Falco
            ddumont Dan Dumont
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: