|
|
|
@ -2,7 +2,7 @@ |
|
|
|
#set -x |
|
|
|
set -e |
|
|
|
|
|
|
|
codePath=/home/www/deploy/wms8_api_test_d907 |
|
|
|
codePath=/home/www/deploy/wms8_api_test_d112 |
|
|
|
gitUrlArr=( |
|
|
|
"http://git.galaxis.yvanui.com/wms8/wms8-bench.git" |
|
|
|
"http://git.yvanui.com/lizhiwei/yvan-framework.git" |
|
|
|
@ -78,12 +78,12 @@ buildCode() { |
|
|
|
echo "" |
|
|
|
} |
|
|
|
|
|
|
|
logPath=/home/www/logs/wms8_api_test_d907/wms8_api_test_d907.log |
|
|
|
dirPath=/home/www/deploy/wms8_api_test_d907/wms-biz/wms8-api/build/libs/ |
|
|
|
serverName=wms8_d907_api_test |
|
|
|
logPath=/home/www/logs/wms8_api_test_d1127/wms8_api_test_d112.log |
|
|
|
dirPath=/home/www/deploy/wms8_api_test_d112/wms-biz/wms8-api/build/libs/ |
|
|
|
serverName=wms8_d112_api_test |
|
|
|
|
|
|
|
cmd=$1 |
|
|
|
profiles=${2:-"test-d907"} |
|
|
|
profiles=${2:-"test-d112"} |
|
|
|
|
|
|
|
#------------------------------------------------------------------- |
|
|
|
JAVA_MEM_OPTS=" -DappName=${serverName} -server -Xmx2g -Xms2g" |
|
|
|
@ -174,5 +174,5 @@ else |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# 上海一心堂d907 api |
|
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-sh/test-deploy-api-d907.sh) [cmd profiles] |
|
|
|
# 上海一心堂d112 api |
|
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-D112/test-deploy-api-d112.sh) [cmd profiles] |