Added the name change in pipeline

This commit is contained in:
n 2023-03-07 15:42:00 +05:30
parent 27734ce912
commit 3dd6fd2bf2

10
Jenkinsfile vendored
View file

@ -18,11 +18,11 @@ pipeline {
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package' sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package'
} }
} }
stage('postbuild') stage('postbuild') {
{ steps {
archiveArtifacts artifacts: '**/target/spring-petclinic.war', archiveArtifacts artifacts: '**/target/spring-petclinic.war',
followSymlinks: false followSymlinks: false
junit '**/surefire-reports/TEST-*.xml' junit '**/surefire-reports/TEST-*.xml'
} }
} }
} }