Handle path exclusions
This commit is contained in:
parent
7a590ecad5
commit
29cfbbf9d6
1 changed files with 1 additions and 5 deletions
|
|
@ -1,13 +1,10 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label "${AGENT_LABEL}" }
|
agent { label AGENT_LABEL }
|
||||||
stages {
|
stages {
|
||||||
stage('Initial setup') {
|
stage('Initial setup') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startnonbuild(this)
|
meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startnonbuild(this)
|
||||||
sh """#!/bin/bash
|
|
||||||
env
|
|
||||||
"""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -103,7 +100,6 @@ pipeline {
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
export PMD_JAVA_OPTS=-Xmx65536m
|
export PMD_JAVA_OPTS=-Xmx65536m
|
||||||
echo "${PPD}/run.sh" cpd --minimum-tokens 100 --files "${SRC}" --language cpp --format xml ${EXCLUDE_PARAM} --failOnViolation false > cpd.xml
|
|
||||||
"${PPD}/run.sh" cpd --minimum-tokens 100 --files "${SRC}" --language cpp --format xml ${EXCLUDE_PARAM} --failOnViolation false > cpd.xml
|
"${PPD}/run.sh" cpd --minimum-tokens 100 --files "${SRC}" --language cpp --format xml ${EXCLUDE_PARAM} --failOnViolation false > cpd.xml
|
||||||
"""
|
"""
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue