Jenkins Xunit plugin
Posted: Wed May 08, 2019 2:02 pm
Hello everyone,
I'm having trouble to get the Ranorex Report parsed through the Xunit Plugin in Jenkins.
I followed this guide: https://www.ranorex.com/blog/make-your- ... ing-xunit/
But instead of the old .xsl file i'm using the newest RanorexReport.xsl generated from our Ranorex version 8.2 and i'm not able to get it running.
I receive the following error messages by the jenkins plugin:
This is my Plugin Configuration:
Are there any alternatives? Any new .xsl files? Do I have to add something to it?
In the attachments you can find the current .xsl im using.
I also tried out the new Jenkins plugin: https://wiki.jenkins.io/display/JENKINS ... ion+Plugin
But this is only working when im Executing Tests over the Ranorex Test suite but we trigger the tests by an external tool which provides the Ranorex reports in the end.
Thanks in advance and Best Regards
Giuseppe
I'm having trouble to get the Ranorex Report parsed through the Xunit Plugin in Jenkins.
I followed this guide: https://www.ranorex.com/blog/make-your- ... ing-xunit/
But instead of the old .xsl file i'm using the newest RanorexReport.xsl generated from our Ranorex version 8.2 and i'm not able to get it running.
I receive the following error messages by the jenkins plugin:
Code: Select all
INFO: Starting to record.
INFO: Processing Custom Tool
INFO: [Custom Tool] - 1 test report file(s) were found with the pattern 'report.rxlog.data' relative to 'C:\mypath\6-PublishTestResults' for the testing framework 'Custom Tool'.
WARNING: The converted file for the input file 'C:\mypath\6-PublishTestResults\report.rxlog.data' doesnt match the JUnit format.
WARNING: At line 1 of file:/C:\mypath/6-PublishTestResults/generatedJUnitFiles/f4b6c6cf-a733-4a5f-9eee-10204097f061/Custom%20Tool/TEST-6886120e-ddd0-4f2d-8423-717674170da1.xml:The markup declarations contained or pointed to by the document type declaration must be well-formed.
WARNING: Technical validation:The markup declarations contained or pointed to by the document type declaration must be well-formed.
ERROR: The markup declarations contained or pointed to by the document type declaration must be well-formed.
ERROR: The markup declarations contained or pointed to by the document type declaration must be well-formed.
ERROR: Step ‘Publish xUnit test result report’ failed: The converted file for the result file 'C:\mypath\6-PublishTestResults\report.rxlog.data' (during conversion process for the metric 'Custom Tool') is not valid. The report file has been skipped.
Finished: FAILURE
Are there any alternatives? Any new .xsl files? Do I have to add something to it?
In the attachments you can find the current .xsl im using.
I also tried out the new Jenkins plugin: https://wiki.jenkins.io/display/JENKINS ... ion+Plugin
But this is only working when im Executing Tests over the Ranorex Test suite but we trigger the tests by an external tool which provides the Ranorex reports in the end.
Thanks in advance and Best Regards
Giuseppe