Commit 3124a301 authored by tong.li's avatar tong.li

deploy

parent 79228550
...@@ -40,7 +40,7 @@ def call(body) { ...@@ -40,7 +40,7 @@ def call(body) {
c = 0 c = 0
for (machine in machines_list) { for (machine in machines_list) {
echo "Is deploy to :" + machine echo "Is deploy to :" + machine
sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -e env={{envType}} -vv" sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -e env=${envType} -vv"
c = c + 1 c = c + 1
if (c < count) { if (c < count) {
......
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