Merge "add support for measurement plots plugin to junit publisher"
This commit is contained in:
commit
6fe4626518
@ -834,6 +834,9 @@ def junit(parser, xml_parent, data):
|
||||
<Test+stability+plugin>`.
|
||||
:arg bool claim-build: Allow claiming of failed tests (default false)
|
||||
Requires the Jenkins :jenkins-wiki:`Claim Plugin <Claim+plugin>`.
|
||||
:arg bool measurement-plots: Create measurement plots (default false)
|
||||
Requires the Jenkins `Measurement Plots Plugin.
|
||||
<https://wiki.jenkins-ci.org/display/JENKINS/Measurement+Plots+Plugin>`_.
|
||||
|
||||
Minimal example using defaults:
|
||||
|
||||
@ -858,6 +861,9 @@ def junit(parser, xml_parent, data):
|
||||
if str(data.get('claim-build', False)).lower() == 'true':
|
||||
XML.SubElement(datapublisher,
|
||||
'hudson.plugins.claim.ClaimTestDataPublisher')
|
||||
if str(data.get('measurement-plots', False)).lower() == 'true':
|
||||
XML.SubElement(datapublisher,
|
||||
'hudson.plugins.measurement__plots.TestDataPublisher')
|
||||
|
||||
|
||||
def xunit(parser, xml_parent, data):
|
||||
|
@ -7,6 +7,7 @@
|
||||
<testDataPublishers>
|
||||
<de.esailors.jenkins.teststability.StabilityTestDataPublisher/>
|
||||
<hudson.plugins.claim.ClaimTestDataPublisher/>
|
||||
<hudson.plugins.measurement__plots.TestDataPublisher/>
|
||||
</testDataPublishers>
|
||||
</hudson.tasks.junit.JUnitResultArchiver>
|
||||
</publishers>
|
||||
|
@ -4,3 +4,4 @@ publishers:
|
||||
keep-long-stdio: false
|
||||
test-stability: true
|
||||
claim-build: true
|
||||
measurement-plots: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user