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

Support Maven Surefire report version 3

    Details

    • Similar Issues:

      Description

      I want to inform you that XML Reports of Surefire are not valid against XSD
      https://github.com/apache/maven-surefire/blob/master/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd

      This should be fixed in Maven Surefire.
      If you use this XML and visualize the reports, pls adapt to the fix.
      https://issues.apache.org/jira/browse/SUREFIRE-1559

        Attachments

          Issue Links

            Activity

            Hide
            tibor17 Tibor Digana added a comment -

            Nikolas Falco
            It's up to you. If you find an issue, I am all the ear.
            But I do not know if your plugin can recognize the XSD version. I hope it can.

            Show
            tibor17 Tibor Digana added a comment - Nikolas Falco It's up to you. If you find an issue, I am all the ear. But I do not know if your plugin can recognize the XSD version. I hope it can.
            Hide
            nfalco Nikolas Falco added a comment - - edited

            Tibor Digana maybe it's the case also to open an issue to the flaky-test-handler-plugin that is the plugin that decorate JUnit reports with flaky tests in the XML.

            If you want I could open for you.

            Show
            nfalco Nikolas Falco added a comment - - edited Tibor Digana maybe it's the case also to open an issue to the flaky-test-handler-plugin that is the plugin that decorate JUnit reports with flaky tests in the XML. If you want I could open for you.
            Hide
            nfalco Nikolas Falco added a comment -

            The XSD embedded in this plugin is not a copy of surefure XSD, it have to support old and new version and ant junit format version. So it is not an issue if the URl is changed but YES I have to check if latest version 3.0.0-M2 cause some issue to the actual plugin. Within this weekend I will perform the needed verification. Thank you.

            Show
            nfalco Nikolas Falco added a comment - The XSD embedded in this plugin is not a copy of surefure XSD, it have to support old and new version and ant junit format version. So it is not an issue if the URl is changed but YES I have to check if latest version 3.0.0-M2 cause some issue to the actual plugin. Within this weekend I will perform the needed verification. Thank you.
            Hide
            tibor17 Tibor Digana added a comment -

            Nikolas Falco
            The version 3.0.0-M2 is available in Maven Central.
            Can you please adapt your plugin xUnit with the path of XSD?
            It has a new location
            https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd
            and old location for legacy versions
            https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd
            I hope this would work for you. Sorry.

            Show
            tibor17 Tibor Digana added a comment - Nikolas Falco The version 3.0.0-M2 is available in Maven Central. Can you please adapt your plugin xUnit with the path of XSD? It has a new location https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd and old location for legacy versions https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd I hope this would work for you. Sorry.
            Hide
            tibor17 Tibor Digana added a comment -
            Show
            tibor17 Tibor Digana added a comment - Nikolas Falco We are in release Vote for the version 3.0.0-M2 Please join us in the Vote: https://lists.apache.org/thread.html/d44c7a8198e4f4d214211e40909249bcca67bdabd7d476731f2e1665@%3Cdev.maven.apache.org%3E

              People

              • Assignee:
                dszczepanik Damian Szczepanik
                Reporter:
                tibor17 Tibor Digana
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: