Christian Fetzer 62f57fb5db Add support for Clang Scan-Build plugin version 1.7
The Clang Scan-Build plugin release 1.7 adds an option to specify the
directory where the generated reports are expected.

Without this change, builds that have a Scan-Build-Publisher configured
fail with a NPE because the 'reportFolderName' element is missing in
the config.

Reference: https://issues.jenkins-ci.org/browse/JENKINS-18941

Change-Id: Ide3627a58198c81744f9c360f45929a23dce5d23
2016-06-16 22:05:40 +02:00

12 lines
488 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher>
<markBuildUnstableWhenThresholdIsExceeded>true</markBuildUnstableWhenThresholdIsExceeded>
<bugThreshold>0</bugThreshold>
<clangexcludedpaths>external-lib</clangexcludedpaths>
<reportFolderName>scan-build-report</reportFolderName>
</jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher>
</publishers>
</project>