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
90271b2664
commit
02a4982ef3
1 changed files with 13 additions and 8 deletions
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -1,11 +1,16 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
stages {
|
docker {
|
||||||
stage('Build') {
|
label 'linux'
|
||||||
steps {
|
image 'maven:3-alpine'
|
||||||
sh 'mvn clean install -Dlicense.skip=true'
|
args '-v /root/.m2:/root/.m2'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn -B -DskipTests clean package'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue