Create jenkinsfile

This commit is contained in:
vikram 2021-07-07 16:25:11 +05:30 committed by GitHub
parent e7c879ed3a
commit b5021203db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
jenkinsfile Normal file
View file

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