Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
726cd246
Commit
726cd246
authored
Mar 24, 2021
by
Mohammed Ismail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] error correction
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
fd79aa63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ci-scripts/generateHtmlReport.py
ci-scripts/generateHtmlReport.py
+4
-0
No files found.
ci-scripts/generateHtmlReport.py
View file @
726cd246
...
@@ -449,6 +449,7 @@ class HtmlReport():
...
@@ -449,6 +449,7 @@ class HtmlReport():
cell_msg
=
' <td bgcolor="Tomato"><pre style="border:none; background-color:Tomato"><b>'
cell_msg
=
' <td bgcolor="Tomato"><pre style="border:none; background-color:Tomato"><b>'
cell_msg
+=
'KO::
\n
'
cell_msg
+=
'KO::
\n
'
cell_msg
+=
' -- Some Git Operations went WRONG</b></pre></td>
\n
'
cell_msg
+=
' -- Some Git Operations went WRONG</b></pre></td>
\n
'
else
:
cell_msg
=
' <td bgcolor="Tomato"><pre style="border:none; background-color:Tomato"><b>'
cell_msg
=
' <td bgcolor="Tomato"><pre style="border:none; background-color:Tomato"><b>'
cell_msg
+=
'KO: logfile ('
+
logFileName
+
') not found</b></pre></td>
\n
'
cell_msg
+=
'KO: logfile ('
+
logFileName
+
') not found</b></pre></td>
\n
'
...
@@ -491,6 +492,9 @@ class HtmlReport():
...
@@ -491,6 +492,9 @@ class HtmlReport():
base_image
=
False
base_image
=
False
with
open
(
cwd
+
'/archives/'
+
logFileName
,
'r'
)
as
logfile
:
with
open
(
cwd
+
'/archives/'
+
logFileName
,
'r'
)
as
logfile
:
for
line
in
logfile
:
for
line
in
logfile
:
result
=
re
.
search
(
'FROM oai-smf-base'
,
line
)
if
result
is
not
None
:
base_image
=
True
result
=
re
.
search
(
section_start_pattern
,
line
)
result
=
re
.
search
(
section_start_pattern
,
line
)
if
result
is
not
None
:
if
result
is
not
None
:
section_status
=
True
section_status
=
True
...
...
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