From 996d21c9927bfbcd4e4eacb0e67a5f5ddea6af80 Mon Sep 17 00:00:00 2001 From: Felix Dorner Date: Wed, 29 Apr 2020 09:26:17 +0200 Subject: [PATCH] [releng] Enable --batch-mode for maven To get rid of the download progress spam during builds Signed-off-by: Felix Dorner --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0c7473159b..14eceee9d0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { currentBuild.description = BUILD_KEY sh 'env' - sh 'mvn clean verify -f releng/plugins/org.polarsys.capella.targets/pom.xml' + sh 'mvn --batch-mode clean verify -f releng/plugins/org.polarsys.capella.targets/pom.xml' } } } @@ -35,7 +35,7 @@ pipeline { script { def customParams = github.isPullRequest() ? '-DSKIP_SONAR=true' : '-Psign' - sh "mvn -Djacoco.skip=true -DjavaDocPhase=none -Pfull ${customParams} clean package -f pom.xml" + sh "mvn --batch-mode -Djacoco.skip=true -DjavaDocPhase=none -Pfull ${customParams} clean package -f pom.xml" } } }