mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +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 {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn clean install -Dlicense.skip=true'
|
||||
}
|
||||
agent {
|
||||
docker {
|
||||
label 'linux'
|
||||
image 'maven:3-alpine'
|
||||
args '-v /root/.m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn -B -DskipTests clean package'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue