Update jenkinsfiles

This commit is contained in:
SandeshKutwade 2024-04-11 11:13:37 +05:30 committed by GitHub
parent 0da7855d00
commit 05630ecab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,12 +10,13 @@ pipeline {
steps {git url: 'https://github.com/spring-projects/spring-petclinic.git',branch: 'main'
}
}
}
stage('build'){
steps {
sh 'mvn clean package'
junit testResults: '**/surefire-reports/*_xml'
archive '**/target/spring-petclinic-*.jar'
stage('build'){
steps {
sh 'mvn clean package'
junit testResults: '**/surefire-reports/*_xml'
archive '**/target/spring-petclinic-*.jar'
}
}
}