Commit af0845ae authored by Raphael Defosseux's avatar Raphael Defosseux

CI: fix image size reporting

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 4c8f206b
......@@ -776,7 +776,7 @@ class HtmlReport():
if os.path.isfile(cwd + '/archives/' + logFileName):
if nfType == 'AMF':
section_start_pattern = 'Successfully tagged oai-amf'
section_end_pattern = 'OAI-SMF DOCKER IMAGE BUILD'
section_end_pattern = 'OAI-AMF DOCKER IMAGE BUILD'
section_status = False
status = False
with open(cwd + '/archives/' + logFileName, 'r') as logfile:
......@@ -790,7 +790,7 @@ class HtmlReport():
if section_status:
if nfType == 'AMF':
if self.git_pull_request:
result = re.search('oai-amf *ci-temp', line)
result = re.search('oai-amf *ci-tmp', line)
else:
result = re.search('oai-amf *develop', line)
if result is not None:
......
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