From 2f4887b5cfb5392bb8eb23bf13cd422ecbc0eb85 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Tue, 31 Jul 2018 18:12:47 +0200 Subject: [PATCH] Add publishCppcheck to Jenkins Pipeline This was not supported by the plugin previously, but got now fixed in the last version. --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f27ad9184..1fe411165 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {