From e9ec295725ead3592265e48b94445cf5c90b94ad Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 6 Dec 2024 16:16:55 +0100
Subject: [PATCH] Revert "build maven and image as separate step in order to
 avoid double maven-source-plugin calls"

This reverts commit 77afd5b4e1e0638f9561dde4901bcdf4bb15b433.
---
 Jenkinsfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e768a8d786..5ab8526be1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -163,8 +163,7 @@ pipeline {
 
                     configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
                         sh 'mvn --version'
-                        sh "mvn -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