Commit 804a8d7f authored by daidekun's avatar daidekun

deploy to

parent 5ec40801
......@@ -37,6 +37,7 @@ def call(body) {
machines_list = _utils.partList(arr_machines.toList(), int_count, count)
for (machine in machines_list) {
echo "Is deploy to :" + machine
sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -vv"
env.RELEASE_ACTION = input message: '请选择下一步部署动作', ok: '确认',
......
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