{% if build.pipeline.status == 'success' %}
Successful pipeline #{{ build.pipeline.number }}
|
{% else %}
Failed pipeline #{{ build.pipeline.number }}
|
{% endif %}
{% if body is defined and body|length > 0 %}
{{ include(template_from_string(body), build) }} |
{% else %}
Repo:
|
{{ build.repo.full_name }}
|
Author:
|
{{ build.commit.author }} ({{ build.commit.author_email }})
|
Branch:
|
{{ build.commit.branch }}
|
Commit:
|
{{ build.commit.sha[0:8] }}
|
Started at:
|
{{ build.build.created_at|date('r') }}
|
{{ build.commit.message }}
|
{% endif %}
|