Commit 29982ba6 authored by daidekun's avatar daidekun

f

parent 8c1b94ca
......@@ -37,7 +37,7 @@ def call(body) {
echo "Is deploy to :" + machine
sh "ansible-playbook /etc/ansible/service.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -vv"
env.RELEASE_ACTION = input '是否继续部署?', ok: 'Merge'
env.RELEASE_ACTION = input '是否继续部署?'
if (env.RELEASE_ACTION == true) {
sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -vv"
......
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