Commit 65fc80a8 authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 1fc30555
......@@ -36,29 +36,29 @@ fi
# 增加文件差异对比 2017-01-15 田亚伟
echo "Step 1.1: checkout properties files: "
config_path=`pwd`
expect -c "
spawn scp root@${host}:/home/quant_group/${module}/*.properties ./
expect {
\"*assword\" {
send \"!QAZ2wsx\n\"
}
}
expect eof"
echo "------------------------config_fidd:begin------------------------------"
echo `node ${utils_path}/sh-utils/deploy/check_file_diff.js ${config_path}/application.properties /home/quant_group/jenkins/workspace/deploy_${module}/src/main/resources/config/test/`
sed $(echo -e "s/\r//") application.properties > application_last.properties
echo `pwd`
expect -c "
spawn scp ${config_path}/application_last.properties root@${host}:/home/quant_group/${module}/application.properties
expect {
\"*assword\" {
send \"!QAZ2wsx\n\"
}
}
expect eof"
echo "-------------------------config_fidd:end-------------------------------"
#echo "Step 1.1: checkout properties files: "
#config_path=`pwd`
#expect -c "
#spawn scp root@${host}:/home/quant_group/${module}/*.properties ./
#expect {
#\"*assword\" {
# send \"!QAZ2wsx\n\"
# }
#}
#expect eof"
#echo "------------------------config_fidd:begin------------------------------"
#echo `node ${utils_path}/sh-utils/deploy/check_file_diff.js ${config_path}/application.properties /home/quant_group/jenkins/workspace/deploy_${module}/src/main/resources/config/test/`
#sed $(echo -e "s/\r//") application.properties > application_last.properties
#echo `pwd`
#expect -c "
#spawn scp ${config_path}/application_last.properties root@${host}:/home/quant_group/${module}/application.properties
#expect {
#\"*assword\" {
# send \"!QAZ2wsx\n\"
# }
#}
#expect eof"
#echo "-------------------------config_fidd:end-------------------------------"
# 增加文件差异对比 结束2017-01-15 田亚伟
......
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