Use the live build log URL
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

It's easier then to check the package and what not and the full log
is one click away anyway.
This commit is contained in:
Luca Beltrame 2022-01-30 10:08:40 +01:00
parent 01cb708ffe
commit a2e3bccf3c
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -27,8 +27,8 @@ REPO_TEMPLATE = """
{% for package in repo.packages %}
{%if package.status != "disabled" %}
{% set build_log_url = "{0}/public/build/{1}/{2}/{3}/{4}/_log".format(
base_url,project, repo.name, repo.arch, package.name) %}
{% set build_log_url = "{0}/package/live_build_log/{1}/{2}/{3}/{4}/".format(
base_url, project, package.name, repo.name, repo.arch) %}
- {{ package.name }} - *[{{ package.status }}]({{ build_log_url }})*
{% else %}
- {{ package.name }} - *{{ package.status }}*