Hello I'm using pytest for testing and have it generate a unittest xml file that can be read by Jenkins. This has worked fine for other jobs but now I have a new job where Jenkins doesn't like the file:
01:12:52 org.jenkinsci.plugins.xunit.service.TransformerException: The result file 'C:\Jenkins\workspace\applicationtest\applicationtest\unittest.xml' for the metric 'CppUnit' is not valid. The result file has been skipped. However the file exists and XmlLint doesn't see a problem with it. No un-escaped special chars or < > etc. There's a <testsuites> tag and it just looks like other files from other jobs that work. <?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="31" skipped="0" tests="37" time="342.813" timestamp="2022-12-07T01:07:09.246626" hostname="TestHost7"><testcase classname="tests.test_explorer.TestClass" name="test_Exp_Invisible" time="85.074"><failure message="AssertionError: assert False + where False = < ... framework\apptester.py:199: AssertionError</failure></testcase><testcase classname="tests.test_varlog.TestClass" name="test_Quit" time="0.012" /></testsuite></testsuites> Is there a way to see what exactly it is that Jenkins doesn't like about this file? Thanks bye Fabi -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/770c9b9f82cede0ddb2e83a818ba0f09%40indel.ch.