Commit 6f54420d authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 4780c3fe
...@@ -24,7 +24,7 @@ if $init_shell_script ;then ...@@ -24,7 +24,7 @@ if $init_shell_script ;then
expect \"]#\" expect \"]#\"
send \"cd /home\r\" send \"cd /home\r\"
expect \"]#\" expect \"]#\"
send \"git clone https://qa_quantgroup:12345678@git.coding.net/tywldx/qa_shell_script.git\r\" send \"git clone http://shengcong.gan:12345678@gitabc.xyqb.com/QA/qa-deploy-utils.git\r\"
expect \"]#\" expect \"]#\"
send \"exit\r\" send \"exit\r\"
expect eof;" expect eof;"
...@@ -36,7 +36,7 @@ if [ -n "$project_name" ]; then ...@@ -36,7 +36,7 @@ if [ -n "$project_name" ]; then
spawn ssh root@${ip} spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r } expect *ssword* { send !QAZ2wsx\r }
expect \"]#\" expect \"]#\"
send \"cd /home/qa_shell_script\r\" send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\" expect \"]#\"
send \"sh 1_mount_config_files.sh\r\" send \"sh 1_mount_config_files.sh\r\"
set timeout -1 set timeout -1
...@@ -61,7 +61,7 @@ else ...@@ -61,7 +61,7 @@ else
spawn ssh root@${ip} spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r } expect *ssword* { send !QAZ2wsx\r }
expect \"]#\" expect \"]#\"
send \"cd /home/qa_shell_script\r\" send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\" expect \"]#\"
send \"sh 1_mount_config_files.sh\r\" send \"sh 1_mount_config_files.sh\r\"
set timeout -1 set timeout -1
......
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