Commit df9aa373 authored by tong.li's avatar tong.li

deploy

parent ecfb1502
...@@ -42,8 +42,6 @@ def call(body) { ...@@ -42,8 +42,6 @@ def call(body) {
if (env.RELEASE_ACTION == "Deploy") { if (env.RELEASE_ACTION == "Deploy") {
sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -vv" sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -e force=${force} -vv"
}else{
sh "ansible-playbook /etc/ansible/nginx_add.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine[0]} -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