Added Jenkins file

This commit is contained in:
shaikkhajaibrahim 2019-01-05 08:15:44 +05:30
parent 11ad7ac38c
commit 391e135906

22
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,22 @@
node {
stage('SCM') {
// git clone
git 'https://github.com/GitPracticeRepo/spring-petclinic.git'
}
stage ('build the packages') {
// mvn package
sh 'mvn package'
}
stage('show test results') {
junit 'target/surefire-reports/*.xml'
}
stage ('archival') {
// archiving artifacts
archive 'target/*.jar'
}
}