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 { node {
stage('git springpetclinic'){ stage ('git springpetclinic') {
//git clone //git clone
git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git' git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git'
} }
stage('package the spring'){ stage ('package the spring') {
//maven package //maven package
sh 'mvn package' sh 'mvn package'
} }
stage('archival'){ stage ('archival') {
//archiving artifactory //archiving artifactory
archive 'target/*.jar' archive 'target/*.jar'
} }
stage('test result'){ stage ('test result') {
junit 'target/surefire-reports/*.xml' junit 'target/surefire-reports/*.xml'
} }