Commit 724e9339 authored by tong.li's avatar tong.li

deploy

parent 3124a301
...@@ -50,7 +50,7 @@ def call(body) { ...@@ -50,7 +50,7 @@ def call(body) {
} }
if (action == 'rollback') { if (action == 'rollback') {
sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machines} -e rollback_to_release=${tag_name} -e force=${force} -vv" sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machines} -e rollback_to_release=${tag_name} -e force=${force} -e env=${envType} -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