Commit 7c5a82bf authored by Robert Schmidt's avatar Robert Schmidt

Format Hdashboard Gitlab post using Markdown

parent a582ac99
...@@ -528,15 +528,15 @@ class Dashboard: ...@@ -528,15 +528,15 @@ class Dashboard:
editable_mr = project.mergerequests.get(int(mr)) editable_mr = project.mergerequests.get(int(mr))
mr_notes = editable_mr.notes.list(all=True) mr_notes = editable_mr.notes.list(all=True)
body = '<a href="https://oaitestdashboard.s3.eu-west-1.amazonaws.com/MR'+mr+'/index.html">Consolidated Test Results</a><br>'+\ body = '[Consolidated Test Results](https://oaitestdashboard.s3.eu-west-1.amazonaws.com/MR'+mr+'/index.html)\\\n'
'Tested CommitID: ' + commit + '<br>' body += 'Tested CommitID: ' + commit + '\\\n'
for i in range(0,n_tests): for i in range(0,n_tests):
jobname = args[4*i] jobname = args[4*i]
buildurl = args[4*i+1] buildurl = args[4*i+1]
buildid = args[4*i+2] buildid = args[4*i+2]
status = args[4*i+3] status = args[4*i+3]
body += jobname+', status is <b>'+status+'</b>, (<a href="'+buildurl+'">'+buildid+'</a>)<br>' body += jobname+': **'+status+'** ([' + buildid + '](' + buildurl + '))\\\n'
#create new note #create new note
mr_note = editable_mr.notes.create({ mr_note = editable_mr.notes.create({
......
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