Skip to content
Snippets Groups Projects
Commit 9621ac2a authored by Emanuele Aina's avatar Emanuele Aina
Browse files

dashboard: Add link to retrigger failed pipelines


GitLab makes retrying failed jobs easy, but sometimes it's preferable to
retrigger the whole pipeline from scratch for consistency, so let's make
it more convenient by adding a dedicated button to each failure report.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 17ca61a5
No related branches found
Tags apertis/2%1.20.11-1+deb11u5+apertis1
1 merge request!109dashboard: Add link to retrigger failed pipelines
Pipeline #377365 failed
......@@ -295,6 +295,9 @@
Upstream branch {{branch(package, report.branch)}} dropped
{%- elif report.kind == "git-branch-pipeline-failed" -%}
Pipeline failed on {{ branch(package, report.branch) }}: {{ pipeline(package, report.pipeline_web_url) }}
<a href="{{ package.git.web_url }}/pipelines/new?ref={{ report.branch.name|urlencode }}">
retrigger 🔁
</a>
{%- elif report.kind == "git-branch-licensing-report-missing" -%}
Missing licensing report on {{branch(package, report.branch)}}
{%- elif report.kind == "git-branch-licensing-override" -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment