GIS-1621 - Update static analysis
This commit is contained in:
parent
24384288ed
commit
b0a28652ef
1 changed files with 10 additions and 3 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue