From 6703e90deac18f14580b23976de740f9412cb1e0 Mon Sep 17 00:00:00 2001 From: Bharatkumar5690 Date: Wed, 8 Mar 2023 12:15:07 +0530 Subject: [PATCH] added artifacts and test reports --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f9f079d4d..9cfae8aff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { } stage('test code by using sonarqube') { steps { - archiveArtifacts artifacts: '**/target/gameoflife.war', + archiveArtifacts artifacts: '**/target/*.jar', onlyIfSuccessful: true, allowEmptyArchive: true junit testResults: '**/surefire-reports/TEST-*.xml'