|
@@ -2,34 +2,25 @@
|
|
|
#set -x
|
|
|
set -e
|
|
|
|
|
|
-codePath=/home/www/deploy/wms8_dygk
|
|
|
+codePath=/home/www/deploy/wms8_shuyu_qingdao
|
|
|
gitUrlArr=(
|
|
|
- "http://git.galaxis.yvanui.com/wms8/wms8-bench.git"
|
|
|
- "http://git.galaxis.yvanui.com/wms8/wms-core.git"
|
|
|
- "http://git.yvanui.com/lizhiwei/yvan-framework.git"
|
|
|
+ "https://wms-gitlab.sypm.cn:7878/kaileshi/wms8-bench.git"
|
|
|
)
|
|
|
|
|
|
branchArr=(
|
|
|
- "shuyu_qingdao"
|
|
|
- "shuyu_qingdao"
|
|
|
"master"
|
|
|
)
|
|
|
positionArr=(
|
|
|
"."
|
|
|
- "wms-core"
|
|
|
- "yvan-framework"
|
|
|
)
|
|
|
# 是否需要构建,-1:自动;0:不需要;1:需要
|
|
|
needBuild=(
|
|
|
"1"
|
|
|
-"1"
|
|
|
-"1"
|
|
|
)
|
|
|
|
|
|
echoPrefix="\033[36m+"
|
|
|
echoSuffix="\033[0m"
|
|
|
|
|
|
-
|
|
|
# 强制覆盖本地的代码 git fetch --all && git reset --hard origin/master
|
|
|
isChange="1" # 仓库是否发生变化,0:未变化;非0:变化
|
|
|
pullCode() {
|
|
@@ -109,9 +100,9 @@ buildCode() {
|
|
|
echo ""
|
|
|
}
|
|
|
|
|
|
-logPath=/data/logs/wms8_dygk/wms8_dygk.log
|
|
|
-dirPath=/home/www/deploy/wms8_dygk/wms-biz/servo/build/libs/
|
|
|
-serverName=wms8_dygk
|
|
|
+logPath=/data/logs/wms8_shuyu_qingdao/wms8_shuyu_qingdao.log
|
|
|
+dirPath=/home/www/deploy/wms8_shuyu_qingdao/wms-biz/servo/build/libs/
|
|
|
+serverName=wms8_shuyu_qingdao
|
|
|
|
|
|
cmd=$1
|
|
|
profiles=${2:-"test3"}
|
|
@@ -229,4 +220,5 @@ else
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
+# shuyu_qingdao
|
|
|
# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/01dongying_guokang/07wms8-test3.sh) [cmd profiles]
|