Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324791 - [hudson][build] Missing support for Maven2 test results
Summary: [hudson][build] Missing support for Maven2 test results
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 0.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 323797
  Show dependency tree
 
Reported: 2010-09-08 15:55 EDT by Robert Munteanu CLA
Modified: 2011-01-05 14:44 EST (History)
0 users

See Also:


Attachments
Surefire test results as exposed by Hudson. (474.59 KB, application/xml)
2010-09-08 15:56 EDT, Robert Munteanu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.