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

Single malformed junit result causes failure to import rest of junit results.


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • junit-plugin
    • None
    • Platform: PC, OS: Windows XP


      I am using Hudson for a C++ project. I have created a job which acts as a
      regression test (via some scripting). This script creates several XML files in
      the junit report format--it does not actually use Junit.


      If one of the junit results files is malformed enough to cause the XML parser
      to fail (for example, a segfault in the script causes the XML file to be
      incomplete), none of the remaining (or already parsed) results files, which may
      be completely valid, are imported into Hudson. The build results will not show
      any test results.

      I would expect only the test results from the malformed results file to be
      missing from the build status--not all of test results.

            huybrechts huybrechts
            dangthill dangthill
            0 Vote for this issue
            0 Start watching this issue