I have some troubles when parsing a XML report. This report was generated by cpptestcli -report unitTests.xml.
I can import it manually in Visual studio 2010. But the last step of the job fails.
here is what is written on the log :
[Cpptest] Collecting Cpptest analysis files...
[Cpptest] Computing warning deltas based on reference build
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing CppTest-7.x
[xUnit] [INFO] - [CppTest-7.x] - 2 test report file(s) were found with the pattern '.xml' relative to 'D:\Jenkins\workspace\STS_INTRFACE_TU' for the testing framework 'CppTest-7.x'.
[xUnit] [ERROR] - The converted file for the result file 'D:\Jenkins\workspace\STS_INTRFACE_TU\unitTests.xml' (during conversion process for the metric 'CppTest') is not valid. The report file has been skipped.*
[xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
Build step 'Publish xUnit test result report' changed build result to FAILURE
I really dont know why. I have 6 projects, 3 of them fail, the 3 others are OK .
I join you the report generated.
Thanks a lot for your help