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
31
Jenkinsfile
vendored
31
Jenkinsfile
vendored
|
@ -1,24 +1,11 @@
|
|||
Jenkinsfile (Declarative Pipeline)
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('test') {
|
||||
steps {
|
||||
parallel(
|
||||
"test": {
|
||||
echo 'hello world'
|
||||
|
||||
},
|
||||
"": {
|
||||
build 'pet clinic'
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
agent { docker 'maven:3.3.3' }
|
||||
stages {
|
||||
stage('build') {
|
||||
steps {
|
||||
sh 'mvn --version'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('done') {
|
||||
steps {
|
||||
echo 'Done!!!'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue