Add publishCppcheck to Jenkins Pipeline

This was not supported by the plugin previously, but got now fixed in the
last version.
This commit is contained in:
Roland Winklmeier
2018-07-31 18:12:47 +02:00
committed by Klaus Basan
parent f637b2996d
commit 2f4887b5cf

3
Jenkinsfile vendored
View File

@@ -28,8 +28,7 @@ builders['Build swift Linux'] = {
sh 'cppcheck --xml --xml-version=2 --inline-suppr --std=c++11 -ibuild --enable=style,unusedFunction -i externals ' +
'--suppressions-list=cppcheck.supp --library=qt.cfg --library=posix.cfg . 2> cppcheck.xml'
// Pipeline support for CppCheck publisher is not yet released.
// step([$class: 'CppcheckPublisher', allowNoReport: true, pattern: 'cppcheck.xml'])
publishCppcheck allowNoReport: true, pattern: 'cppcheck.xml'
}
stage('Linux Archive') {