Enhancement #2179
Support xUnit plugin
Status: | Resolved | Start date: | 02/11/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Jenkins API | |||
Target version: | 0.4 |
Description
<xunit plugin="xunit@1.91"> <types> <JUnitType> <pattern>test-reports/*.xml</pattern> <skipNoTestFiles>false</skipNoTestFiles> <failIfNotNew>false</failIfNotNew> <deleteOutputFiles>false</deleteOutputFiles> <stopProcessingIfError>true</stopProcessingIfError> </JUnitType> <GoogleTestType> <pattern>bla foo</pattern> <skipNoTestFiles>false</skipNoTestFiles> <failIfNotNew>true</failIfNotNew> <deleteOutputFiles>true</deleteOutputFiles> <stopProcessingIfError>true</stopProcessingIfError> </GoogleTestType> <BoostTestJunitHudsonTestType> <pattern>sfjkasdfjksajdlkf</pattern> <skipNoTestFiles>false</skipNoTestFiles> <failIfNotNew>true</failIfNotNew> <deleteOutputFiles>true</deleteOutputFiles> <stopProcessingIfError>true</stopProcessingIfError> </BoostTestJunitHudsonTestType> <ValgrindJunitHudsonTestType> <pattern>ghdghfgh</pattern> <skipNoTestFiles>false</skipNoTestFiles> <failIfNotNew>true</failIfNotNew> <deleteOutputFiles>true</deleteOutputFiles> <stopProcessingIfError>true</stopProcessingIfError> </ValgrindJunitHudsonTestType> </types> <thresholds> <org.jenkinsci.plugins.xunit.threshold.FailedThreshold> <unstableThreshold/> <unstableNewThreshold/> <failureThreshold/> <failureNewThreshold/> </org.jenkinsci.plugins.xunit.threshold.FailedThreshold> <org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> <unstableThreshold/> <unstableNewThreshold/> <failureThreshold/> <failureNewThreshold/> </org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> </thresholds> <thresholdMode>1</thresholdMode> <extraConfiguration> <testTimeMargin>3000</testTimeMargin> </extraConfiguration> </xunit>
Related issues
Associated revisions
Basic support for XUnit plugin in lib/jenkins.api/src/api/classes.lisp
refs #2179
- src/api/classes.lisp (define-model-class): support slots without
associated XPath
(define-model-class xunit/type): new class; XUnit plugin configuration
for one test framework
(xml-> :around element xunit/type): store the local name of the
element in the kind slot of the instance
(->xml :around xunit/type element eql xunit/type): inverse
(define-interface-implementations publisher): added XUnit plugin - src/api/package.lisp (package jenkins.api): added exported symbols
publisher/xunit, types and xunit/type
Added xunit aspect in src/project/aspects.lisp
fixes #2179
- src/project/aspects.lisp (define-aspect xunit): new aspect; generates
configurations for the XUnit plugin
History
#1 Updated by J. Wienke over 9 years ago
- Description updated (diff)
#2 Updated by J. Wienke over 9 years ago
- Description updated (diff)
#3 Updated by J. Moringen about 9 years ago
- Copied to Enhancement #2182: Support JUnit plugin added
#4 Updated by J. Moringen about 9 years ago
- Category set to Jenkins API
- Status changed from New to In Progress
#5 Updated by J. Moringen about 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset cc6fb38473cbe8bf35a4a43a408546e484e7f162.