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
6c534379
Commit
6c534379
authored
Feb 15, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5ab79a54
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
3_link_config_file_by_type.sh
qa_shell_script/3_link_config_file_by_type.sh
+0
-4
remote_excute.sh
qa_shell_script/remote_excute.sh
+1
-0
No files found.
qa_shell_script/3_link_config_file_by_type.sh
View file @
6c534379
...
@@ -19,10 +19,6 @@ function linkProjectConfig()
...
@@ -19,10 +19,6 @@ function linkProjectConfig()
file
=
`
node
$config_server
/get_project_config.js
-name
${
project
}
-attr
config_file
`
file
=
`
node
$config_server
/get_project_config.js
-name
${
project
}
-attr
config_file
`
echo
"----rm -rf /home/quant_group/
${
project
}
/
$file
"
echo
"----rm -rf /home/quant_group/
${
project
}
/
$file
"
if
[
"
$project_type
"
=
"java"
]
then
mkdir
/home/quant_group/
${
project
}
/target
fi
rm
-rf
/home/quant_group/
${
project
}
/
$file
rm
-rf
/home/quant_group/
${
project
}
/
$file
if
$is_public_ip
&&
[
-n
"
$is_public_ip
"
]
if
$is_public_ip
&&
[
-n
"
$is_public_ip
"
]
...
...
qa_shell_script/remote_excute.sh
View file @
6c534379
...
@@ -55,6 +55,7 @@ else
...
@@ -55,6 +55,7 @@ else
send
\"
cd /home/qa-deploy-utils/qa_shell_script
\r\"
send
\"
cd /home/qa-deploy-utils/qa_shell_script
\r\"
expect
\"
]#
\"
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
\r\"
set timeout -1
expect
\"
]#
\"
expect
\"
]#
\"
send
\"
exit
\r\"
send
\"
exit
\r\"
expect eof;"
expect eof;"
...
...
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