if build-all-tests label use -Dmaven.test.failure.ignore=true
Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
parent
44aa6036b3
commit
45b6523d13
|
@ -118,6 +118,9 @@ def mavenBuild(jdk, cmdline, mvnName) {
|
|||
echo "Not using build cache"
|
||||
extraArgs = " -Dmaven.test.failure.ignore=true -Dmaven.build.cache.enabled=false "
|
||||
}
|
||||
if (pullRequest.labels.contains("build-all-tests")) {
|
||||
extraArgs = " -Dmaven.test.failure.ignore=true "
|
||||
}
|
||||
sh "mvn $extraArgs -DsettingsPath=$GLOBAL_MVN_SETTINGS -Dmaven.repo.uri=http://nexus-service.nexus.svc.cluster.local:8081/repository/maven-public/ -ntp -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e -U $cmdline"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue