mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Bim
This commit is contained in:
parent
f3ba8fba2d
commit
2ff6113dc2
1 changed files with 11 additions and 3 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -28,6 +28,7 @@ pipeline {
|
|||
|
||||
stage("tests") {
|
||||
steps {
|
||||
|
||||
parallel (
|
||||
"static-analysis" : {
|
||||
node("build") {
|
||||
|
@ -42,19 +43,26 @@ pipeline {
|
|||
"performance-tests": {
|
||||
node("test") {
|
||||
echo "performance tests"
|
||||
sh "ls -rtl"
|
||||
sleep 20
|
||||
}
|
||||
}
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage("user-interaction") {
|
||||
agent none
|
||||
steps {
|
||||
input "Deploy ?"
|
||||
}
|
||||
}
|
||||
|
||||
stage("deploy") {
|
||||
agent { label "ssh" }
|
||||
steps {
|
||||
unstash name:"binary"
|
||||
sh "ls -rtl target/"
|
||||
input "Deploy ?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue