This commit is contained in:
Michael Grote 2024-01-24 22:15:35 +01:00
parent d173d12982
commit 78d47c0319
2 changed files with 3 additions and 27 deletions

View file

@ -14,27 +14,3 @@ steps:
event:
exclude:
- tag
secret: [vault-pass] #dieses Secret darf verwendet werden
- name: notify
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
s-nail \
-s "CI: [$CI_PIPELINE_STATUS] $CI_REPO" \
-S mta=smtp://docker10.mgrote.net:1025 \
-S smtp-auth=none \
-S v15-compat \
-S from=ci@mgrote.net \
$CI_COMMIT_AUTHOR_EMAIL <<EOF
Repository: $CI_REPO
Commit: $CI_COMMIT_SHA
URL: $CI_PIPELINE_URL
URL-Git: $CI_PIPELINE_FORGE_URL
Status: $CI_PIPELINE_STATUS
EOF
when:
event:
- push
runs_on:
- failure

View file

@ -21,12 +21,12 @@ steps:
$CI_COMMIT_AUTHOR_EMAIL <<EOF
Repository: $CI_REPO
Commit: $CI_COMMIT_SHA
URL: $CI_PREV_PIPELINE_URL
URL: $CI_PIPELINE_URL
URL-Git: $CI_PIPELINE_FORGE_URL
Status: $CI_PIPELINE_STATUS
EOF
when:
event:
- push
runs_on:
- failure
runs_on:
- failure