Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
6f54420d
Commit
6f54420d
authored
Feb 14, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4780c3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
remote_excute_by_step.sh
qa_shell_script/remote_excute_by_step.sh
+3
-3
No files found.
qa_shell_script/remote_excute_by_step.sh
View file @
6f54420d
...
@@ -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 http
s://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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment