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

add nginx online offline

parent 1e771a71
......@@ -27,7 +27,7 @@ def call(body) {
if (dataCenter == "A" || dataCenter == "C") {
if ( operation == "online" || operation == "offline") {
sh "ansible-playbook /etc/ansible/online-offline.yml -e project_name=${projectName} -e data_center=${dataCenter} -e env=${envType} -v"
sh "ansible-playbook /etc/ansible/online-offline.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machines} -e env=${envType} -v"
}else{
stage('Build') {
if (action == 'deploy') {
......
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