Create Jenkinsfile

This commit is contained in:
LUFEEN KUMAR SAMANTARAY 2020-01-03 21:05:39 +05:30 committed by GitHub
parent 4e1f87407d
commit da440d0296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,15 @@
node {
stage('SCM') {
//git clone
git 'https://github.com/spring-projects/spring-petclinic.git'
}
stage ('build the packages') {
//mvn package
sh 'mvn package'
}
stage ('archival') {
//archiving artifacts
archive 'target/*.jar'
}
}