added jenkinsfile

This commit is contained in:
Venkatesh 2022-09-27 11:12:50 +05:30
parent f48227aea0
commit 51592a96dd

16
jenkinsfile Normal file
View file

@ -0,0 +1,16 @@
pipeline {
agent { label 'JDK-11' }
stages {
stage('clone') {
steps {
git url: 'https://github.com/GUDAPATIVENKATESH/spring-petclinic.git',
branch: 'main'
}
}
stage('build') {
steps {
sh 'mvn package'
}
}
}
}