Commit 726cd246 authored by Mohammed Ismail's avatar Mohammed Ismail

[CI] error correction

Signed-off-by: default avatarMohammed Ismail <mohammed.ismail@openairinterface.org>
parent fd79aa63
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment