Commit cf93dd88 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

CI: cosmetics on the size reporting


Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 1a501115
Pipeline #26145 passed with stage
in 0 seconds
...@@ -848,12 +848,11 @@ class HtmlReport(): ...@@ -848,12 +848,11 @@ class HtmlReport():
else: else:
result = re.search('oai-nrf *develop', line) result = re.search('oai-nrf *develop', line)
if result is not None: if result is not None:
if variant == 'docker': result = re.search('ago *([0-9A-Z ]+)', line)
result = re.search('ago *([0-9A-Z]+)', line)
else:
result = re.search('ago *([0-9]+ [A-Z]+)', line)
if result is not None: if result is not None:
size = result.group(1) size = result.group(1)
if variant == 'docker':
size = re.sub('MB', ' MB', size)
status = True status = True
logfile.close() logfile.close()
if status: if status:
......
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