From 6bf339f79d33700db93245796189b3e41f2d4c05 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 36203e3c83..c234d1b89b 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" } } }