Commit 738c95b5 authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent c6e40d80
......@@ -19,7 +19,7 @@ then
suffix=''
echo "skip get suffix"
else
suffix=$((${host:10}+1))
suffix=$((${host:10}))
echo $host $suffix
fi
......@@ -60,7 +60,7 @@ if [[ "$module" = "du-jiang-yan" ]]; then
fi
echo "mvn clean package -P${config_profile} -Dmaven.test.skip=true"
mvn clean package -P${config_profile} -Dmaven.test.skip=true -X
mvn clean package -P${config_profile} -Dmaven.test.skip=true
mkdir -p /home/quant_group/deploy_backup
\cp -f target/*.jar /home/quant_group/deploy_backup/
......
......@@ -15,7 +15,7 @@ port=22
user="root"
password="!QAZ2wsx"
package_path="/home/quant_group/${module_name}"
shutils_path="/home/quant_group/test-utils/sh-utils"
shutils_path="/home/quant_group/qa-deploy-utils/sh-utils"
ack_phrase="Started\ Bootstrap"
max_wait_log_generate_time=50
......
......@@ -12,8 +12,8 @@ echo "cd /home/quant_group/${module_name}/"
cd /home/quant_group/${module_name}/
if [[ "${re_load_config}" = true ]]; then
web_no=$((${worker_host:10}))
basic_no=$((${worker_host:10}+1))
mysql_no=$((${worker_host:10}+2))
basic_no=$((${worker_host:10}))
mysql_no=$((${worker_host:10}))
echo "java_start Run ${module_name} start.sh on ${worker_host}, basic_no is ${basic_no}, mysql_no is ${mysql_no}"
......
......@@ -6,10 +6,10 @@ re_load_config=$3
echo "[params] module_name: $1, worker_host: $2, re_load_config: $3"
utils_path="/home/quant_group/test-utils"
utils_path="/home/quant_group/qa-deploy-utils"
basic_no=$((${worker_host:10}+1))
mysql_no=$((${worker_host:10}+2))
basic_no=$((${worker_host:10}))
mysql_no=$((${worker_host:10}))
mkdir -p /home/quant_group/remote_backup/${module_name}
rm -rf /home/quant_group/remote_backup/${module_name}
......
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