Commit 2ea6c951 authored by 智勇's avatar 智勇

更新成qaapi接口

parent 93a2fd93
......@@ -19,7 +19,7 @@ else
fi
echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts
dubboPort=`curl -s -m 5 curl 'http://192.168.28.179:3003/k8s/service/details' -H 'cluster: qa' -H 'content-type: application/json;charset=UTF-8' --data-binary "{\"serviceName\":\"${SYSTEM_NAME}\",\"namespace\":\"${NAMESPACE}\",\"type\":\"java\",\"key\":\"port_20880\"}"`
dubboPort=`curl -s -m 5 curl 'http://qaapi.liangkebang.com/k8s/service/details' -H 'cluster: qa' -H 'content-type: application/json;charset=UTF-8' --data-binary "{\"serviceName\":\"${SYSTEM_NAME}\",\"namespace\":\"${NAMESPACE}\",\"type\":\"java\",\"key\":\"port_20880\"}"`
if [[ ${#dubboPort} == 5 ]];then
echo dubboPort
echo $dubboPort
......
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