Commit de76020b authored by daidekun's avatar daidekun

中文

parent 00870256
......@@ -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 '是否继续部署?'
env.RELEASE_ACTION = input '是否继续部署?', proceed: '继续', abort: '取消'
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