jUnit output of PHPUnit test fail to parse

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: xunit-plugin
    • None
    • Environment:
      Jenkins 2.127
      xUnit plugin 2.0.2

      Job log show lots of error lines starting like:

      INFO: [JUnit] - 2 test report file(s) were found with the pattern 'phpunit-result.xml, selenium.xml' relative to '/var/lib/jenkins/workspace/bob-develop' for the testing framework 'JUnit'.
       WARNING: The file '/var/lib/jenkins/workspace/bob-develop/phpunit-result.xml' is an invalid file.
       WARNING: At line 3 of file:/var/lib/jenkins/workspace/bob-develop/phpunit-result.xml:cvc-complex-type.3.2.2: Attribute 'assertions' is not allowed to appear in element 'testsuite'. 
      

      I can supply a full XML file if needed.

            Assignee:
            Nikolas Falco
            Reporter:
            Lars Skjærlund
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: