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

test

parent 3e070f39
...@@ -27,7 +27,7 @@ def call(body) { ...@@ -27,7 +27,7 @@ def call(body) {
if (dataCenter == "A" || dataCenter == "C") { if (dataCenter == "A" || dataCenter == "C") {
stage('Build') { stage('Build') {
if (action == 'deploy') { if (action == 'deploy') {
sh "ansible-playbook /etc/ansible/build.yml -e project_name=${projectName} -e data_center=${dataCenter} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -e force=${force} -e env=${envType} -vvvv" sh "ansible-playbook /etc/ansible/build.yml -e project_name=${projectName} -e data_center=${dataCenter} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -e force=${force} -e env=${envType} -v"
} }
} }
......
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