Skip to content

Commit

Permalink
feature(createArgusTestRun.groovy): Add argus link
Browse files Browse the repository at this point in the history
This commit makes it so that createArgusTestRun stage of the SCT
pipeline now appends a link to the argus page of the run.

Fixes #9634

(cherry picked from commit 77b1739)
  • Loading branch information
k0machi authored and fruch committed Jan 21, 2025
1 parent 9aefb09 commit 3d076b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vars/createArgusTestRun.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,17 @@ def call(Map params) {
echo " Argus test run created."
"""
if (!currentBuild.description) {
currentBuild.description = ''
}
String runButton = """
<div style="margin: 12px 4px;">
<a
href='https://argus.scylladb.com/tests/scylla-cluster-tests/${SCT_TEST_ID}'
>
Argus: <span style='font-weight: 500'>${SCT_TEST_ID}</span>
</a>
</div>
"""
currentBuild.description += "${runButton}"
}

0 comments on commit 3d076b5

Please sign in to comment.