Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qaHome
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
qaHome
Commits
72f313ff
Commit
72f313ff
authored
Jun 15, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
88ddcca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
server_v2.js
app/qa-home/controller/docker/server_v2.js
+13
-3
No files found.
app/qa-home/controller/docker/server_v2.js
View file @
72f313ff
...
@@ -227,12 +227,22 @@ function formatInfo(obj) {
...
@@ -227,12 +227,22 @@ function formatInfo(obj) {
let
time_then
=
new
Date
(
obj
.
start_time
);
let
time_then
=
new
Date
(
obj
.
start_time
);
// obj.service = obj.service[0];
// obj.service = obj.service[0];
let
post_info
=
have_console
(
obj
.
service
);
let
post_info
=
have_console
(
obj
.
service
);
branch
=
""
;
branch_no_time
=
""
;
branch_time
=
""
;
try
{
branch
=
obj
.
image
.
split
(
"
:
"
)[
1
];
branch_no_time
=
obj
.
image
.
split
(
"
:
"
)[
1
].
split
(
"
-
"
)[
0
];
branch_time
=
obj
.
image
.
split
(
"
:
"
)[
1
].
split
(
"
-
"
)[
1
];
}
catch
(
error
)
{
console
.
log
(
obj
.
image
)
}
let
info
=
{
let
info
=
{
image
:
obj
.
image
,
image
:
obj
.
image
,
name
:
obj
.
microservice_name
||
""
,
name
:
obj
.
microservice_name
||
""
,
branch
:
obj
.
image
.
split
(
"
:
"
)[
1
]
||
""
,
branch
:
branch
,
branch_no_time
:
obj
.
image
.
split
(
"
:
"
)[
1
].
split
(
"
-
"
)[
0
]
||
""
,
branch_no_time
:
branch_no_time
,
branch_time
:
obj
.
image
.
split
(
"
:
"
)[
1
].
split
(
"
-
"
)[
1
]
||
""
,
branch_time
:
branch_time
,
host
:
""
,
host
:
""
,
host_ip
:
obj
.
host_ip
||
""
,
host_ip
:
obj
.
host_ip
||
""
,
health
:
""
,
health
:
""
,
...
...
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