This commit is contained in:
Michaël Pailloncy 2017-03-06 17:57:27 +01:00
parent f3ba8fba2d
commit 2ff6113dc2

14
Jenkinsfile vendored
View file

@ -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 ?"
} }
} }
} }