junit: add 'Skip publishing checks' param
This new option has been added in JUnit v1.39 https://github.com/jenkinsci/junit-plugin/releases/tag/junit-1.39 The user can decide not to publish issues to SCM provider platforms. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Change-Id: I543dbd5cb355acc5106336afd8953a03245df2fa
This commit is contained in:
parent
b63898421d
commit
93ae6dd1e4
@ -1578,6 +1578,8 @@ def junit(registry, xml_parent, data):
|
|||||||
health score. (default 1.0)
|
health score. (default 1.0)
|
||||||
:arg bool allow-empty-results: Do not fail the build on empty test results
|
:arg bool allow-empty-results: Do not fail the build on empty test results
|
||||||
(default false)
|
(default false)
|
||||||
|
:arg bool skip-publishing-checks: Do not publish issues to SCM provider
|
||||||
|
platforms (default false)
|
||||||
:arg bool test-stability: Add historical information about test
|
:arg bool test-stability: Add historical information about test
|
||||||
results stability (default false).
|
results stability (default false).
|
||||||
Requires the Jenkins :jenkins-plugins:`Test stability Plugin
|
Requires the Jenkins :jenkins-plugins:`Test stability Plugin
|
||||||
@ -1612,6 +1614,7 @@ def junit(registry, xml_parent, data):
|
|||||||
("keep-long-stdio", "keepLongStdio", True),
|
("keep-long-stdio", "keepLongStdio", True),
|
||||||
("health-scale-factor", "healthScaleFactor", "1.0"),
|
("health-scale-factor", "healthScaleFactor", "1.0"),
|
||||||
("allow-empty-results", "allowEmptyResults", False),
|
("allow-empty-results", "allowEmptyResults", False),
|
||||||
|
("skip-publishing-checks", "skipPublishingChecks", False),
|
||||||
]
|
]
|
||||||
helpers.convert_mapping_to_xml(junitresult, data, mapping, fail_required=True)
|
helpers.convert_mapping_to_xml(junitresult, data, mapping, fail_required=True)
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
<keepLongStdio>true</keepLongStdio>
|
<keepLongStdio>true</keepLongStdio>
|
||||||
<healthScaleFactor>1.0</healthScaleFactor>
|
<healthScaleFactor>1.0</healthScaleFactor>
|
||||||
<allowEmptyResults>false</allowEmptyResults>
|
<allowEmptyResults>false</allowEmptyResults>
|
||||||
|
<skipPublishingChecks>false</skipPublishingChecks>
|
||||||
<testDataPublishers/>
|
<testDataPublishers/>
|
||||||
</hudson.tasks.junit.JUnitResultArchiver>
|
</hudson.tasks.junit.JUnitResultArchiver>
|
||||||
</publishers>
|
</publishers>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
<keepLongStdio>false</keepLongStdio>
|
<keepLongStdio>false</keepLongStdio>
|
||||||
<healthScaleFactor>2.0</healthScaleFactor>
|
<healthScaleFactor>2.0</healthScaleFactor>
|
||||||
<allowEmptyResults>true</allowEmptyResults>
|
<allowEmptyResults>true</allowEmptyResults>
|
||||||
|
<skipPublishingChecks>true</skipPublishingChecks>
|
||||||
<testDataPublishers>
|
<testDataPublishers>
|
||||||
<de.esailors.jenkins.teststability.StabilityTestDataPublisher/>
|
<de.esailors.jenkins.teststability.StabilityTestDataPublisher/>
|
||||||
<hudson.plugins.claim.ClaimTestDataPublisher/>
|
<hudson.plugins.claim.ClaimTestDataPublisher/>
|
||||||
|
@ -4,6 +4,7 @@ publishers:
|
|||||||
keep-long-stdio: false
|
keep-long-stdio: false
|
||||||
health-scale-factor: 2.0
|
health-scale-factor: 2.0
|
||||||
allow-empty-results: true
|
allow-empty-results: true
|
||||||
|
skip-publishing-checks: true
|
||||||
test-stability: true
|
test-stability: true
|
||||||
claim-build: true
|
claim-build: true
|
||||||
measurement-plots: true
|
measurement-plots: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user