Christian Fetzer 59483513a3 valgrind publisher: Add parameters to fail build
Add optional parameters fail-no-reports and fail-invalid-reports that
set the build status to failure if no valgrind reports are available
or if the reports are malformed.

This parameters have been added to the Jenkins Valgrind Plugin
version 0.21.

Change-Id: I558802896f24a596f07957ab58a83fcaf6054093
2014-08-31 22:11:14 +02:00

21 lines
1003 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<org.jenkinsci.plugins.valgrind.ValgrindPublisher>
<valgrindPublisherConfig>
<pattern>test.xml</pattern>
<unstableThresholdInvalidReadWrite>1</unstableThresholdInvalidReadWrite>
<unstableThresholdDefinitelyLost>2</unstableThresholdDefinitelyLost>
<unstableThresholdTotal>3</unstableThresholdTotal>
<failThresholdInvalidReadWrite>4</failThresholdInvalidReadWrite>
<failThresholdDefinitelyLost>5</failThresholdDefinitelyLost>
<failThresholdTotal>6</failThresholdTotal>
<failBuildOnMissingReports>true</failBuildOnMissingReports>
<failBuildOnInvalidReports>true</failBuildOnInvalidReports>
<publishResultsForAbortedBuilds>true</publishResultsForAbortedBuilds>
<publishResultsForFailedBuilds>true</publishResultsForFailedBuilds>
</valgrindPublisherConfig>
</org.jenkinsci.plugins.valgrind.ValgrindPublisher>
</publishers>
</project>