Commit 2e06fd83 authored by tong.li's avatar tong.li

deploy

parent 893ea91a
...@@ -32,7 +32,7 @@ def call(body) { ...@@ -32,7 +32,7 @@ def call(body) {
stage('Deploy') { stage('Deploy') {
if (action == 'deploy') { if (action == 'deploy') {
sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machines} -e tag_name=${tagName} -e force=${force} -e env=${envType} -e tingyun=${tingyun}" sh "ansible-playbook /etc/ansible/${action}.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machines} -e tag_name=${tagName} -e force=${force} -e env=${envType} -e tingyun=${tingyun} -v"
} }
if (action == 'rollback') { if (action == 'rollback') {
......
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