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
d500ea01
Commit
d500ea01
authored
Nov 20, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e8aabbce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
restartJava.sh
qa_shell_script/base_script/restartJava.sh
+1
-1
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+1
-1
No files found.
qa_shell_script/base_script/restartJava.sh
View file @
d500ea01
...
@@ -33,7 +33,7 @@ function ack()
...
@@ -33,7 +33,7 @@ function ack()
#首先查询是否有启动失败的报错日志
#首先查询是否有启动失败的报错日志
fail_flag
=
`
cat
${
log_path
}
|grep
"Application startup failed"
|
wc
-l
`
fail_flag
=
`
cat
${
log_path
}
|grep
"Application startup failed"
|
wc
-l
`
if
[
"
${
fail_flag
}
"
=
1
]
;
then
if
[
"
${
fail_flag
}
"
=
1
]
;
then
echo
"server
$ip
$project
not startup in
${
max_
wait_ack_time
}
seconds..."
echo
"server
$ip
$project
startup failed in
${
wait_ack_time
}
seconds..."
num
=
`
grep
-n
"
\[
ERROR
\]
"
$log_path
|
head
-1
|cut
-d
":"
-f
1
`
num
=
`
grep
-n
"
\[
ERROR
\]
"
$log_path
|
head
-1
|cut
-d
":"
-f
1
`
if
[
-n
"
$num
"
]
;
then
if
[
-n
"
$num
"
]
;
then
echo
"server
$ip
$project
启动日志错误信息截取如下:"
echo
"server
$ip
$project
启动日志错误信息截取如下:"
...
...
qa_shell_script/config_server/get_project_config.js
View file @
d500ea01
...
@@ -138,7 +138,7 @@ new pClass().init(true, "ui", "7057", "h5.auth", "ka-spider-center-ui", "ui", nu
...
@@ -138,7 +138,7 @@ new pClass().init(true, "ui", "7057", "h5.auth", "ka-spider-center-ui", "ui", nu
new
pClass
().
init
(
true
,
"
ui
"
,
"
7067
"
,
""
,
"
new-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统 vue
"
,
"
孙小英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7067
"
,
""
,
"
new-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统 vue
"
,
"
孙小英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7070
"
,
""
,
"
customer-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
外部查询-ui
"
,
""
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7070
"
,
""
,
"
customer-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
外部查询-ui
"
,
""
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7075
"
,
""
,
"
business-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
商城结算系统-ui
"
,
"
王丽英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7075
"
,
""
,
"
business-op-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
商城结算系统-ui
"
,
"
王丽英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7077
"
,
""
,
"
cuishou-ui-new
"
,
"
data
"
,
null
,
"
src/Config/config.js
x
"
,
"
npm run dist
"
,
"
node7
"
,
1
,
"
催收系统-ui
"
,
"
李斌
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7077
"
,
""
,
"
cuishou-ui-new
"
,
"
data
"
,
null
,
"
src/Config/config.js
"
,
"
npm run dist
"
,
"
node7
"
,
1
,
"
催收系统-ui
"
,
"
李斌
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7078
"
,
""
,
"
ka-factory-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
KA工厂-ui
"
,
"
张振武
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7078
"
,
""
,
"
ka-factory-ui
"
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
KA工厂-ui
"
,
"
张振武
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7080
"
,
""
,
"
new-mall-ui
"
,
"
ui
"
,
null
,
"
src/app/config/env.config.js
"
,
"
npm run qa
"
,
"
node7
"
,
1
,
"
微信商城-ui
"
,
"
郑少文,周珊
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7080
"
,
""
,
"
new-mall-ui
"
,
"
ui
"
,
null
,
"
src/app/config/env.config.js
"
,
"
npm run qa
"
,
"
node7
"
,
1
,
"
微信商城-ui
"
,
"
郑少文,周珊
"
,
""
,
""
);
// node
// node
...
...
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