mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
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:
committed by
Klaus Basan
parent
f637b2996d
commit
2f4887b5cf
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user