Add static analysis

This commit is contained in:
Dan Hawkins 2019-08-23 09:21:39 +01:00
commit 24384288ed

View file

@ -57,7 +57,7 @@ pipeline {
script {
def CPPCHECKFOLDER = "${STATICANALYSIS}/cppcheck"
dir(CPPCHECKFOLDER) {
echo "Executing: "${CPPCHECK}" --xml --xml-version=2 "${SRC}" 2> cppcheck.xml"
echo "Executing: ${CPPCHECK} --xml --xml-version=2 ${SRC} 2> cppcheck.xml"
if (isUnix()) {
sh """#!/bin/bash
set -e