osmith has uploaded this change for review.

View Change

jenkins-gerrit: add link to retrigger the build

It's useful to be able to retrigger the pipeline, for example if the
build failed because a depending patch was not merged yet and later it
is merged. Add the link where the "Retrigger" button is to make this
convenient.

Related: OS#2385
Change-Id: I647efac9e79d755282b78f14bd27244c99ef7f11
---
M scripts/jenkins-gerrit/pipeline_summary.py
1 file changed, 2 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/56/29756/1
diff --git a/scripts/jenkins-gerrit/pipeline_summary.py b/scripts/jenkins-gerrit/pipeline_summary.py
index b5310c6..a47ab7c 100755
--- a/scripts/jenkins-gerrit/pipeline_summary.py
+++ b/scripts/jenkins-gerrit/pipeline_summary.py
@@ -164,6 +164,8 @@
summary += "\n"
if jobs["failed"]:
summary += "Build Failed\n"
+ summary += "\n"
+ summary += f"Find the Retrigger button here:\n{build_url}\n"
vote = -1
notify = "OWNER"
else:

To view, visit change 29756. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I647efac9e79d755282b78f14bd27244c99ef7f11
Gerrit-Change-Number: 29756
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange