mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
1e0f525cc0
commit
0507e80833
1 changed files with 3 additions and 9 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -1,10 +1,5 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3-alpine'
|
||||
args '-v /root/.m2:/root/.m2'
|
||||
}
|
||||
}
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Checkout SCM') {
|
||||
|
@ -22,8 +17,7 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'chmod +x ./gradlew'
|
||||
sh './gradlew build -x test'
|
||||
echo 'Build..'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
|
@ -37,4 +31,4 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue