Matthieu Baerts deafd08377
junit: add 'Skip marking build as unstable on test failure' param
This new option has been added in JUnit v1.51

  https://github.com/jenkinsci/junit-plugin/releases/tag/junit-1.51

The user can decide not to mark a build as unstable on test failure.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Change-Id: I960ed98cf4b0f8f632546492f6dbb6d1aa0055c9
2021-08-31 18:18:48 +02:00

21 lines
904 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<hudson.tasks.junit.JUnitResultArchiver plugin="junit">
<testResults>nosetests-example.xml</testResults>
<keepLongStdio>false</keepLongStdio>
<healthScaleFactor>2.0</healthScaleFactor>
<allowEmptyResults>true</allowEmptyResults>
<skipPublishingChecks>true</skipPublishingChecks>
<skipMarkingBuildUnstable>true</skipMarkingBuildUnstable>
<testDataPublishers>
<de.esailors.jenkins.teststability.StabilityTestDataPublisher/>
<hudson.plugins.claim.ClaimTestDataPublisher/>
<hudson.plugins.measurement__plots.TestDataPublisher/>
<com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyTestDataPublisher/>
<hudson.plugins.junitattachments.AttachmentPublisher/>
</testDataPublishers>
</hudson.tasks.junit.JUnitResultArchiver>
</publishers>
</project>