This commit is contained in:
Michael Grote 2024-01-24 20:30:15 +01:00
parent 57b3ebe75e
commit bb2964e13a
1 changed files with 12 additions and 4 deletions

View File

@ -13,10 +13,18 @@ steps:
name: notify
image: drillster/drone-email
settings:
host: smtp.some-server.com
username: foo
password: bar
from: drone@your-domain.com
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