GIS-1621 - Update static analysis

This commit is contained in:
Dan Hawkins 2019-08-23 09:33:31 +01:00
commit b0a28652ef

View file

@ -63,9 +63,16 @@ pipeline {
script {
def CCMOLDER = "${STATICANALYSIS}/ccm"
dir(CCMOLDER) {
bat """
"${CCM}" "${SRC}" /xml /nummetrics=100 > ccm.xml
"""
if (isUnix()) {
sh """#!/bin/bash
# Uses mono
"${CCM}" "${SRC}" /xml /nummetrics=100 > ccm.xml
"""
} else {
bat """
"${CCM}" "${SRC}" /xml /nummetrics=100 > ccm.xml
"""
}
}
recordIssues(tools: [
ccm(pattern: "**/ccm.xml", reportEncoding: 'UTF-8'),