From d86dfc0fef1b94666d095eee8d58f8d4664d07c1 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 2 Sep 2022 10:48:22 +0200
Subject: [PATCH] Fixed Problem mit nicht gefundenen Testergebnissen

---
 Jenkinsfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 20fcb5dc..44dc0aa3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -52,6 +52,8 @@ pipeline {
 				container("quarkus-22"){
 				    configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
 						sh './mvnw -s $MAVEN_SETTINGS clean deploy -Dmaven.wagon.http.retryHandler.count=3'
+						
+						junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
 				    }                       
 				}            
 			}
@@ -162,9 +164,6 @@ pipeline {
     }
     
     post {
-        always{
-            junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
-        }
         failure {
             script {
                 if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'release') {
-- 
GitLab