From dd254773fb42834aa64d9de7334ea59168eac2a7 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Fri, 6 Dec 2024 15:46:45 +0100 Subject: [PATCH] Revert "build maven and image as separate step in order to avoid double maven-source-plugin calls" This reverts commit f61dce8ca8f7be0166cc4f6ba6161192a2ae981c. --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 440fad564c..5ab8526be1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -163,8 +163,7 @@ pipeline { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { sh 'mvn --version' - sh "mvn --no-transfer-progress -s $MAVEN_SETTINGS -pl -alfa-client clean install" - sh "mvn --no-transfer-progress -s $MAVEN_SETTINGS -pl -alfa-client spring-boot:build-image -Dspring-boot.build-image.imageName=docker.ozg-sh.de/alfa:${IMAGE_TAG} -Dspring-boot.build-image.publish -Dmaven.wagon.http.retryHandler.count=3\"" + sh "mvn --no-transfer-progress -s $MAVEN_SETTINGS -pl -alfa-client clean install spring-boot:build-image -Dspring-boot.build-image.imageName=docker.ozg-sh.de/alfa:${IMAGE_TAG} -Dspring-boot.build-image.publish -Dmaven.wagon.http.retryHandler.count=3" if (isMasterBranch()) { try { -- GitLab