new file creaton Jenkinsfile

This commit is contained in:
kasasravankumar 2021-07-09 00:16:24 +05:30 committed by GitHub
parent bf0452d6f2
commit cdbd643b4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,17 @@
pipeline {
agent { label 'MASTER' }
stages {
stage('clone') {
steps {
git branch: 'declarative',
url: 'https://github.com/kasasravankumar/spring-petclinic.git'
}
}
stage('build'){
steps{
sh 'mvn package'
}
}
}
}