This commit is contained in:
Srinath 2021-06-03 21:50:59 +05:30
parent c26c2bdcc3
commit ddc18be9cd

10
Jenkinsfile vendored
View file

@ -1,17 +1,17 @@
node {
stage('git springpetclinic'){
stage ('git springpetclinic') {
//git clone
git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git'
}
stage('package the spring'){
//maven package
stage ('package the spring') {
//maven package
sh 'mvn package'
}
stage('archival'){
stage ('archival') {
//archiving artifactory
archive 'target/*.jar'
}
stage('test result'){
stage ('test result') {
junit 'target/surefire-reports/*.xml'
}