Commit edb08570 authored by 智勇's avatar 智勇

Mock

parent d3981106
......@@ -45,8 +45,12 @@ jarCmd="-jar ${package_path} --worker 1 --currentWorker 1 -t --server.port=80"
logCmd="-Dlogging.config=classpath:logback-dev.xml"
finalCmd=""
if [[ $SYSTEM_NAME == 'gu-bei' ]]; then
finalCmd="$basicCmd $debugCmd $apolloMockCmd $jarCmd --spring.config.location=${config_path}"
if [[ $SYSTEM_NAME == 'gu-bei' || $SYSTEM_NAME == 'clotho' ]]; then
if [[ $MOCK == 1 ]];then
finalCmd="$basicCmd $debugCmd $apolloMockCmd $jarCmd --spring.config.location=${config_path}"
else
finalCmd="$basicCmd $debugCmd $apolloCmd $jarCmd --spring.config.location=${config_path}"
fi
elif [[ $SYSTEM_NAME == 'pcm' || $SYSTEM_NAME == 'acs-batch' || $SYSTEM_NAME == 'acs-quartz' || $SYSTEM_NAME == 'acs-service' || $SYSTEM_NAME == 'acs-web' || $SYSTEM_NAME == 'app-server' ]]; then
# 不能指定config.location
finalCmd="$basicCmd $debugCmd $apolloCmd $jarCmd"
......
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