mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
05e69c51cc
commit
a53a01ba44
1 changed files with 9 additions and 22 deletions
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
|
@ -1,24 +1,11 @@
|
||||||
|
Jenkinsfile (Declarative Pipeline)
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent { docker 'maven:3.3.3' }
|
||||||
stages {
|
stages {
|
||||||
stage('test') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
parallel(
|
sh 'mvn --version'
|
||||||
"test": {
|
}
|
||||||
echo 'hello world'
|
}
|
||||||
|
|
||||||
},
|
|
||||||
"": {
|
|
||||||
build 'pet clinic'
|
|
||||||
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
stage('done') {
|
|
||||||
steps {
|
|
||||||
echo 'Done!!!'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue