Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324791

Summary: [hudson][build] Missing support for Maven2 test results
Product: z_Archived Reporter: Robert Munteanu <robert.munteanu>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 0.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 323797    
Attachments:
Description Flags
Surefire test results as exposed by Hudson. none

Description Robert Munteanu CLA 2010-09-08 15:55:12 EDT
If I try to import test results from a Maven job into the workspace, no tests are shown. The /api/xml call returns a slightly different structure for the test results.
Comment 1 Robert Munteanu CLA 2010-09-08 15:55:43 EDT
See http://hudson.xwiki.org/job/xwiki-product-enterprise-tests-2.4/40/testReport/api/xml for an example.
Comment 2 Robert Munteanu CLA 2010-09-08 15:56:42 EDT
Created attachment 178436 [details]
Surefire test results as exposed by Hudson.
Comment 3 Steffen Pingel CLA 2010-09-08 16:31:15 EDT
Interesting, looks like the Schema is indeed different and we would need to generate different stubs and provide a mapping for the model: http://hudson.xwiki.org/job/xwiki-product-enterprise-tests-2.4/40/testReport/api/schema
Comment 4 Robert Munteanu CLA 2010-09-08 17:00:47 EDT
FWIW, there seem to be at least two another Schema, for MatrixTestResult - https://grid.sonatype.org/ci/job/Aether/99/testReport/api/schema .
Comment 5 Steffen Pingel CLA 2010-09-11 21:55:37 EDT
The maven2 plug-in ships as part of Hudson by default so I think we should add support for this schema.
Comment 6 Steffen Pingel CLA 2010-09-12 16:14:01 EDT
Added support for parsing the aggregated surefire tests results.