mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
695197fbdc
commit
de3b2d6df8
1 changed files with 8 additions and 4 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -1,7 +1,7 @@
|
|||
pipeline {
|
||||
agent none
|
||||
stages {
|
||||
stage('Back-end build') {
|
||||
stage('Back-end build') {
|
||||
agent {
|
||||
docker {
|
||||
image 'maven'
|
||||
|
@ -11,8 +11,12 @@
|
|||
}
|
||||
steps {
|
||||
sh 'mvn clean package'
|
||||
stash includes: 'target/*.war', name: 'pet'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build petclinic') {
|
||||
agent { dockerfile true }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue