Update jenkinsfiles

This commit is contained in:
SandeshKutwade 2024-04-11 11:10:48 +05:30 committed by GitHub
parent 83252750d7
commit d0c48c7e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,10 +11,12 @@ pipeline {
}
}
}
post {
success {
// Archive the artifacts
archiveArtifacts artifacts: '**/surefire-reports/*.xml'
}
stage('build'){
steps {
sh 'mvn clean package'
junit testResults: '**/surefire-reports/*_xml'
archive '**/target/spring-petclinic-*.jar
}
}
}