This commit is contained in:
Michael Grote 2024-01-24 20:49:00 +01:00
parent a00e9fa892
commit 2f373d09fb
1 changed files with 17 additions and 4 deletions

View File

@ -28,11 +28,24 @@ steps:
content:
subject: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }} - {{ commit.sha[0:8] }}"
body: |
{{ repo.full_name }}<br>
{{ commit.ref }}<br>
{{ commit.sha }}<br>
{{ pipeline.status }}<br>
{{ commit.author_email }}<br>
attachments:
- log/*
{{ pipeline.number }}<br>
{{ pipeline.url }}<br>
{{ workflow.name }}<br>
{{ step.name }}<br>
{{ step.status }}<br>
when:
status:
- failure
$CI_REPO
$CI_REPO_DEFAULT_BRANCH
$CI_COMMIT_SHA
$CI_PIPELINE_NUMBER
$CI_PIPELINE_URL
$CI_WORKFLOW_NAME
$CI_STEP_NAME
$CI_STEP_STATUS