This commit is contained in:
Michael Grote 2024-01-24 20:31:02 +01:00
parent 3e6213458b
commit 2adc529cd3
1 changed files with 20 additions and 0 deletions

View File

@ -14,3 +14,23 @@ steps:
exclude:
- tag
secret: [vault-pass] #dieses Secret darf verwendet werden
notify:
name: notify
image: drillster/drone-email
settings:
host: mail-relay
from: ci@mgrote.net
subject: "CI: Run failed! - $CI_REPO"
body: |
$CI_REPO
$CI_REPO_DEFAULT_BRANCH
$CI_COMMIT_SHA
$CI_PIPELINE_NUMBER
$CI_PIPELINE_URL
$CI_WORKFLOW_NAME
$CI_STEP_NAME
$CI_STEP_STATUS
when:
status:
- failure