diff --git a/Jenkinsfile b/Jenkinsfile index 5d52a4c9..3d30ee91 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,16 +42,16 @@ 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' } } -} \ No newline at end of file +}