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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Background:

      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.

      Problem:

      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.

            Assignee:
            huybrechts
            Reporter:
            dangthill
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: