Add Jenkinsfile

This commit is contained in:
dbmuse 2017-12-29 06:50:51 -05:00
parent c36452a2c3
commit c95efc5e7c

16
JenkinsFile Normal file
View file

@ -0,0 +1,16 @@
pipeline{
agent { docker 'maven:3.5.2-alpine' }
stages {
stage ('Checkout') {
steps {
git 'https://github.com/dbmuse/spring-petclinic.git'
}
}
stage ('Build') {
steps {
sh 'mvn clean package'
junit '**/target/surefire-reports/Test-*.xml'
}
}
}
}