From 0ea84ea80eaa0427f39b6a8e067bd194d66516e0 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Thu, 19 Dec 2019 08:57:51 +0000 Subject: [PATCH] GIS-1621 - Correct script --- staticanalysis/ccm.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staticanalysis/ccm.groovy b/staticanalysis/ccm.groovy index 93e4711..865e5fa 100644 --- a/staticanalysis/ccm.groovy +++ b/staticanalysis/ccm.groovy @@ -66,7 +66,7 @@ pipeline { echo "Executing: ${CCM} ${SRC} /xml /nummetrics=100 > ccm.xml" if (isUnix()) { sh """#!/bin/bash - find "${SRC}" -type f ! -name "*.cpp" -a ! -name "*.h" -a ! -name "*.hpp" -a ! -name "*.c" -exec rm -r {} \; + find "${SRC}" -type f ! -name "*.cpp" -a ! -name "*.h" -a ! -name "*.hpp" -a ! -name "*.c" -exec rm -r {} \\; # Uses mono "${CCM}" "${SRC}" /xml /nummetrics=100 > ccm.xml """