From 8b606f85ae0558080dbc46b6140328a00dc4d20a Mon Sep 17 00:00:00 2001 From: vishnu1411 Date: Sat, 16 Dec 2023 10:53:05 -0500 Subject: [PATCH] Jenkinsfile_SP2 --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d3e83fd4c..4e62c5156 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,8 +7,9 @@ //building using maven and install sh 'mvn clean package' } - stage('Archive test results'){ - //archive test reuslts + stage('Install & Archive test results'){ + //insteall & archive test reuslts + shh 'mvn clean install' junit '**/surefire-reports/*xml' archiveArtifacts artifacts: '**/*.war', followSymlinks: false }