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 scylladb#9634
  • Loading branch information
k0machi committed Jan 20, 2025
1 parent 93e67c0 commit 3d5d40b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vars/createArgusTestRun.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,19 @@ 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}'
style="text-overflow: ellipsis; color: white; font-weight: 500; font-size: 14pt; display: flex; background-color:rgb(28, 80, 104); padding: 8px; border-radius: 4px"
>
<img style="height: 32px;" src="https://argus.scylladb.com/s/argus.png" />
<span>${SCT_TEST_ID}</span>
</a>
</div>
"""
currentBuild.description += "${runButton}"
}

0 comments on commit 3d5d40b

Please sign in to comment.