Add gitlab webhook support
This commit is contained in:
parent
9d41d56e0c
commit
a1ae717c8f
26 changed files with 1824 additions and 8 deletions
9
templates/gitlab/messages/job.html
Normal file
9
templates/gitlab/messages/job.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% if build_status == BuildStatus.FAILED and not build_allow_failure %}
|
||||
<strong>[<a data-mautrix-exclude-plaintext href="{{ repository.homepage }}">{{ repository.path|e }}</a>]</strong>
|
||||
<a href="{{ build_url }}">Job {{ build_id }}: {{ build_name }}</a>
|
||||
<strong><font color="#ff0000">failed</font></strong>
|
||||
after {{ util.format_time(build_duration) }}
|
||||
(build triggered by {{ user_link(user) }})
|
||||
{% else %}
|
||||
{% do abort() %}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue