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

CI: fix Merge Request URL recovery

Signed-off-by: default avatarRaphael Defosseux <>
parent 7e3ffb6b
......@@ -121,7 +121,8 @@ pipeline {
script {
sh "git clean -x -d -f > /dev/null 2>&1"
if ("MERGE".equals(env.gitlabActionType)) {
gitlabMergeRequestLink = sh "curl --silent \"${env.gitlabMergeRequestIid}\" | jq .web_url | sed 's#\"##g'"
gitlabMergeRequestLink = sh returnStdout: true, script: "curl --silent '${env.gitlabMergeRequestIid}' | jq .web_url | sed 's#\"##g'"
gitlabMergeRequestLink = gitlabMergeRequestLink.trim()
echo "========= THIS IS A MERGE REQUEST =========="
echo "MR ID is ${env.gitlabMergeRequestIid}"
echo "MR LINK is ${gitlabMergeRequestLink}"
......@@ -852,12 +852,11 @@ class HtmlReport():
result ='oai-smf *develop', line)
if result is not None:
if variant == 'docker':
result ='ago *([0-9A-Z]+)', line)
result ='ago *([0-9]+ [A-Z]+)', line)
result ='ago *([0-9A-Z ]+)', line)
if result is not None:
size =
if variant == 'docker':
size = re.sub('MB', ' MB', size)
status = True
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