Problems with CTest XML Report Processing
Hi all,
I am trying to add a Build Feature which does XML Report Processing on CTest results file. The issue is that TeamCity seems to be unable to get the path properly. For example, I get the following:
[11:24:40]CTest report watcher
[11:24:40][CTest report watcher] No reports found for paths:
[11:24:40][CTest report watcher] +|-:/path/to/logs/dir/<runtime_filled>/my_repo/*_ctest.xml
Regardless of what I put in the Monitoring rules, I always get the "<runtime_filled>" part in the search path. This obviously is not OK. What am I doing wrong here? Do I have to do something extra?
Regardless of what I put in the Monitoring rules, I always get the "<runtime_filled>" part in the search path. This obviously is not OK. What am I doing wrong here? Do I have to do something extra?
Please sign in to leave a comment.
Hello Mohamed,
XML report processing build feature searches for files in the checkout directory. How did you specify the checkout directory? Please attach full build log.
Hi Alina,
Thanks for your reply. I overlooked the part regarding "checkout directory". Now, I managed to put them in the right place and get TeamCity to parse them. See:
However, I don't see any "Tests" tab in the final TeamCity report. Where do the results of parsing the files go to?
Cloud you please open this build and attach the screenshot of the whole TeamCity page in browser?
Also you can attach your xml files so I test how they are parsed.