Commit afebca90 authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 6f54420d
......@@ -22,11 +22,11 @@ if $init_shell_script ;then
spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r }
expect \"]#\"
send \"rm -rf /home/qa_shell_script\r\"
send \"rm -rf /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"cd /home\r\"
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 \"]#\"
send \"exit\r\"
expect eof;"
......@@ -38,7 +38,7 @@ if [ -n "$project_name" ] && [ -n "$branch_name" ]; then
spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r }
expect \"]#\"
send \"cd /home/qa_shell_script\r\"
send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"sh 1_mount_config_files.sh\r\"
set timeout -1
......@@ -63,7 +63,7 @@ else
spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r }
expect \"]#\"
send \"cd /home/qa_shell_script\r\"
send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"sh 1_mount_config_files.sh\r\"
set timeout -1
......
......@@ -20,7 +20,7 @@ if $init_shell_script ;then
spawn ssh root@${ip}
expect *ssword* { send !QAZ2wsx\r }
expect \"]#\"
send \"rm -rf /home/qa_shell_script\r\"
send \"rm -rf /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"cd /home\r\"
expect \"]#\"
......
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