Browse Source

03wms-yn-test.sh

master
lizw 3 years ago
parent
commit
b3e0e3cd96
  1. 7
      05shengke/04wms83-prod.sh

7
05shengke/04wms83-prod.sh

@ -198,13 +198,18 @@ deployYvanUI() {
}
pid=`ps -ef | grep "DappName=${serverName}" | grep -v 'grep' | awk '{print $2}'`
# 操作参数: pull deploy restart start stop kill log logs
# 操作参数: pull build deploy restart start stop kill log logs
if [ "$cmd" == "pull" ];then
deployYvanUI
deployPull
if [ -z $pid ];then
echo "$serverName 未运行 | 输入操作参数: pull deploy restart start stop kill log logs"
fi
elif [ "$cmd" == "build" ];then
deployYvanUI
deployPull
buildCode
echo "###--代码构建完成--------------------------------------------------------------------------###"
elif [ "$cmd" == "deploy" ];then
deployYvanUI
deployServer $pid

Loading…
Cancel
Save