Commit 15f42977 authored by 孙海龙's avatar 孙海龙

取消阿里云jenkins发布uat环境

parent c9ef36f4
...@@ -27,7 +27,7 @@ def call(body) { ...@@ -27,7 +27,7 @@ def call(body) {
wrap([$class: 'BuildUser']) { wrap([$class: 'BuildUser']) {
deployUser = BUILD_USER deployUser = BUILD_USER
} }
if (dataCenter == "A" || dataCenter == "C" || dataCenter == "PRE" || dataCenter == "uat") { if (dataCenter == "A" || dataCenter == "C" || dataCenter == "PRE") {
if ( operation == "online" || operation == "offline") { if ( operation == "online" || operation == "offline") {
sh "ansible-playbook /etc/ansible/online-offline.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machines} -e env=${envType} -e operation=${operation} -v" sh "ansible-playbook /etc/ansible/online-offline.yml -e project_name=${projectName} -e data_center=${dataCenter} -e machines=${machines} -e env=${envType} -e operation=${operation} -v"
}else{ }else{
......
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