mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
d070b0d9ff
commit
f6b452ac52
1 changed files with 6 additions and 8 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -1,13 +1,11 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent any
|
||||||
|
tools{
|
||||||
|
maven "maven3"
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Maven Install') {
|
stage('Maven Install') {
|
||||||
agent {
|
steps {
|
||||||
docker {
|
|
||||||
image 'maven:3.5.0'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh 'mvn clean install'
|
sh 'mvn clean install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue