[ 
https://issues.jenkins-ci.org/browse/JENKINS-13967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163526#comment-163526
 ] 

Gregory Boissinot commented on JENKINS-13967:
---------------------------------------------

Sure, this is the expected behavior at the moment because for this metric, a 
value of 0 is hardcoded.
The XSL transformation file has to take care of this.
Any contributions are welcome.
Change to 'New Feature' for now.
 
                
> Xunit don't recognize cppunit report with time execution
> --------------------------------------------------------
>
>                 Key: JENKINS-13967
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13967
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xunit
>    Affects Versions: current
>         Environment: Ubuntu Desktop 12.04 64 bits with Jenkins 1.466 with 
> tomcat7 (from ubuntu package)
> cppunit -1.12.1-4 (from ubuntu package)
>            Reporter: Nicolas JAN
>            Assignee: Gregory Boissinot
>         Attachments: cppunit-report.xml
>
>
> Hi,
> Since I have added the clocker plugin to my cppunit code(It is a cppunit 
> plugin which permit to have the time execution, available into the samples of 
> the cppunit archive), xunit don't reconize the format of the cppunit report.
> In fact, jenkins says that :
> [xUnit] [INFO] - Starting to record.
> [xUnit] [INFO] - Processing CppUnit-1.12.1 (default)
> [xUnit] [INFO] - [CppUnit-1.12.1 (default)] - 1 test report file(s) were 
> found with the pattern 'report/cppunit-report.xml' relative to 
> '/home/nicolas/jenkins/workspace/ProjectA' for the testing framework 
> 'CppUnit-1.12.1 (default)'.
> [xUnit] [ERROR] - The result file 
> '/home/nicolas/jenkins/workspace/ProjectA/report/cppunit-report.xml' for the 
> metric 'CppUnit' is not valid. The result file has been skipped.
> [xUnit] [INFO] - Setting the build status to FAILURE
> [xUnit] [INFO] - Stopping recording.
> Build step 'Publish xUnit test result report' changed build result to FAILURE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to