I would like to publish the XML report generated by Google Test in Jenkins. Can you please guide me about how to publish the Google Test generated XML report?
I am building my project in Visual Studio. I just want to publish the test report using Jenkins/Hudson (or any other utility that can parse and publish the XML test report).
Following is what I did in Jenkins:
Installed Jenkins (as a service) on my Windows 7 machine. I installed the xunit plugin in Jenkins. Then created a (dummy) new job (build style software project). Configured the job to publish the JUnit test result report. Copied the Google Test generated xml report (report1.xml) in the Jenkins workspace. No other options were changed in the job config. Saved the job and built the job. The build fails (expected?), but the test results were not published, got the following message in the log file:
“Test reports were found but none of them are new. Did tests run?
For example, C:\Program Files\Jenkins\workspace\ReadReport1\report1.xml is 8 min 39 sec old”
-Rohini Pangrikar