Commit 962de4f2 authored by 孙海龙's avatar 孙海龙

add PRE datacenter

parent 98d3a48c
......@@ -27,7 +27,7 @@ def call(body) {
wrap([$class: 'BuildUser']) {
deployUser = BUILD_USER
}
if (dataCenter == "A" || dataCenter == "C") {
if (dataCenter == "A" || dataCenter == "C" || dataCenter == "PRE") {
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"
}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