Commit 9ef369d4 authored by daidekun's avatar daidekun

rollback

parent 9f84b218
......@@ -29,12 +29,7 @@ def call(body) {
stage('Deploy') {
when {
expression {
return action == 'deploy';
}
}
steps {
if (action == 'deploy') {
echo 'deploy'
arr_machines = machines.split(",")
count = arr_machines.size()
......@@ -52,15 +47,11 @@ def call(body) {
}
}
}
when {
expression {
return action == 'rollback';
}
}
steps {
if (action == 'rollback') {
echo 'rollback'
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment