Enhancement #2179

Support xUnit plugin

Added by J. Wienke almost 8 years ago. Updated almost 8 years ago.

Status:ResolvedStart date:02/11/2015
Priority:NormalDue 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

Copied to Automated Build Generator - Enhancement #2182: Support JUnit plugin Resolved 02/11/2015

Associated revisions

Revision b88c9a7e
Added by J. Moringen almost 8 years ago

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

Revision cc6fb384
Added by J. Moringen almost 8 years ago

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 almost 8 years ago

  • Description updated (diff)

#2 Updated by J. Wienke almost 8 years ago

  • Description updated (diff)

#3 Updated by J. Moringen almost 8 years ago

#4 Updated by J. Moringen almost 8 years ago

  • Category set to Jenkins API
  • Status changed from New to In Progress

#5 Updated by J. Moringen almost 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF