Skip to content
Snippets Groups Projects
Commit 4dbd7598 authored by Jens Georg's avatar Jens Georg
Browse files

Revert previous change a bit

The cppcheck is not run as part for build
parent 8798bb26
No related branches found
No related tags found
No related merge requests found
......@@ -451,11 +451,7 @@ def doPublishBuildTestDeploy(ArrayList<String> builds) {
sh """
pwd
mkdir -p build
if [ -e /scratch/build-${parentJob}/compile_commands.json ]; then
cppcheck --inline-suppr --enable=all --xml --xml-version=2 -ibuild --project=/scratch/build-${parentJob}/compile_commands.json 2> ./build/cppcheck.xml
else
cppcheck --inline-suppr --enable=all --xml --xml-version=2 -ibuild -Iinclude -I/usr/include . 2> ./build/cppcheck.xml
fi
cppcheck --inline-suppr --enable=all --xml --xml-version=2 -ibuild -Iinclude -I/usr/include . 2> ./build/cppcheck.xml
"""
publishCppcheck pattern: 'build/cppcheck.xml'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment