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
afebca90
Commit
afebca90
authored
Feb 14, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6f54420d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
remote_excute.sh
qa_shell_script/remote_excute.sh
+4
-4
remote_excute_by_step.sh
qa_shell_script/remote_excute_by_step.sh
+1
-1
No files found.
qa_shell_script/remote_excute.sh
View file @
afebca90
...
...
@@ -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 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
\"
]#
\"
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
...
...
qa_shell_script/remote_excute_by_step.sh
View file @
afebca90
...
...
@@ -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
\"
]#
\"
...
...
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