mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
Add Jenkinsfile
This commit is contained in:
parent
c36452a2c3
commit
c95efc5e7c
1 changed files with 16 additions and 0 deletions
16
JenkinsFile
Normal file
16
JenkinsFile
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue