Commit 89bae323 authored by QA-甘 盛聪's avatar QA-甘 盛聪

4.2commit

parent 7848ff1f
#!/bin/bash
echo "ssh到mac电脑"
ssh xyqbiosbuild
echo "ssh successlful"
......@@ -23,7 +23,7 @@ if [ -n "$project_name" ] && [ -n "$branch_name" ]; then
expect \"]#\"
send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"sh deploy_project_by_name.sh $project_name $branch_name $public_ip\r\"
send \"sh deploy_project_by_name.sh $project_name $branch_name $public_ip $ip\r\"
set timeout -1
expect \"]#\"
send \"exit\r\"
......@@ -36,7 +36,7 @@ else
expect \"]#\"
send \"cd /home/qa-deploy-utils/qa_shell_script\r\"
expect \"]#\"
send \"sh deploy_project_by_type.sh $project_type $branch_name $public_ip\r\"
send \"sh deploy_project_by_type.sh $project_type $branch_name $public_ip $ip\r\"
set timeout -1
expect \"]#\"
send \"exit\r\"
......
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