Skip to content

Commit

Permalink
Added cppcheck_suppression_file.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 26, 2023
1 parent a50676f commit 4c28f9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ pipeline {
steps{
catchError(buildResult: 'SUCCESS', message: 'cppcheck found issues', stageResult: 'UNSTABLE') {
sh(label: 'Running cppcheck',
script: 'cppcheck --error-exitcode=1 --project=build/cpp/compile_commands.json -i$WORKSPACE/build/cpp/_deps --suppress=*:build/cpp/_deps/* --enable=all --xml --output-file=logs/cppcheck_debug.xml'
script: 'cppcheck --error-exitcode=1 --project=build/cpp/compile_commands.json -i_deps --enable=all --suppressions-list=cppcheck_suppression_file.txt -rp=$WORKSPACE/build/cpp --xml --output-file=logs/cppcheck_debug.xml'
)
}
}
Expand Down
2 changes: 2 additions & 0 deletions cppcheck_suppression_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
missingIncludeSystem
*:_deps/*

0 comments on commit 4c28f9f

Please sign in to comment.