From 057755fcfa8dfead2e39d9d919606aec07f73c6b Mon Sep 17 00:00:00 2001 From: egelhaus <156946629+egelhaus@users.noreply.github.com> Date: Tue, 18 Mar 2025 07:56:47 +0100 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 15523ca6..471e27a7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,16 +42,15 @@ pipeline { post { always { + junit 'reports/junit.xml' + archiveArtifacts artifacts: 'reports/**', fingerprint: true cleanWs(cleanWhenNotBuilt: false, notFailBuild: true) } success { echo 'Build completed successfully!' - junit 'reports/junit.xml' - archiveArtifacts artifacts: 'reports/**', fingerprint: true } failure { echo 'Build failed!' - junit 'reports/junit.xml' // Ensures test results are captured even on failure } } -} \ No newline at end of file +}