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
66ab1626
Commit
66ab1626
authored
Feb 21, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1f9e0d3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
6_start_by_name.sh
qa_shell_script/6_start_by_name.sh
+7
-5
No files found.
qa_shell_script/6_start_by_name.sh
View file @
66ab1626
...
...
@@ -24,7 +24,6 @@
project_name
=
$1
is_public_ip
=
$2
pwd_path
=
"/home/qa-deploy-utils/qa_shell_script"
config_shell_path
=
"
$pwd_path
"
config_server
=
"
$pwd_path
/config_server"
...
...
@@ -157,12 +156,15 @@ function ack()
done
}
if
[
"
$project_type
"
=
"java"
]
;
then
ProjectType
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
echo
"
$ProjectType
"
if
[
"
$ProjectType
"
=
"java"
]
;
then
restartJavaProject
$project_name
elif
[
"
$
project_t
ype
"
=
"node"
]
;
then
elif
[
"
$
ProjectT
ype
"
=
"node"
]
;
then
restartNodeProject
$project_name
elif
[
"
$
project_t
ype
"
=
"python"
]
;
then
elif
[
"
$
ProjectT
ype
"
=
"python"
]
;
then
restartPythonProject
$project_name
elif
[
"
$
project_t
ype
"
=
"ui"
]
;
then
elif
[
"
$
ProjectT
ype
"
=
"ui"
]
;
then
restartUiProject
$project_name
fi
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