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") {
|
stage("tests") {
|
||||||
steps {
|
steps {
|
||||||
|
|
||||||
parallel (
|
parallel (
|
||||||
"static-analysis" : {
|
"static-analysis" : {
|
||||||
node("build") {
|
node("build") {
|
||||||
|
@ -42,19 +43,26 @@ pipeline {
|
||||||
"performance-tests": {
|
"performance-tests": {
|
||||||
node("test") {
|
node("test") {
|
||||||
echo "performance tests"
|
echo "performance tests"
|
||||||
|
sh "ls -rtl"
|
||||||
sleep 20
|
sleep 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage("user-interaction") {
|
||||||
|
agent none
|
||||||
|
steps {
|
||||||
|
input "Deploy ?"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage("deploy") {
|
stage("deploy") {
|
||||||
agent { label "ssh" }
|
agent { label "ssh" }
|
||||||
steps {
|
steps {
|
||||||
unstash name:"binary"
|
unstash name:"binary"
|
||||||
sh "ls -rtl target/"
|
sh "ls -rtl target/"
|
||||||
input "Deploy ?"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue