t
This commit is contained in:
parent
a651bfbdfc
commit
ffbe5713b8
1 changed files with 14 additions and 16 deletions
|
@ -8,23 +8,21 @@ skip_clone: true
|
||||||
steps:
|
steps:
|
||||||
notify:
|
notify:
|
||||||
name: notify
|
name: notify
|
||||||
image: deblan/woodpecker-email
|
image: registry.mgrote.net/allzweckcontainer:latest
|
||||||
settings:
|
commands:
|
||||||
dsn: "smtp://docker10.mgrote.net:1025"
|
- |
|
||||||
from:
|
s-nail -s "CI: [$CI_PIPELINE_STATUS] $CI_REPO ($CI_COMMIT_BRANCH" \
|
||||||
address: "ci@mgrote.net"
|
-S smtp=server:docker10.mgrote.net:1025 \
|
||||||
name: "woodpecker"
|
-S from=ci@mgrote.net info@mgrote.net <<EOF
|
||||||
recipients:
|
$CI_REPO
|
||||||
- info@mgrote.net
|
$CI_COMMIT_SHA
|
||||||
recipients_only: "false"
|
$CI_PIPELINE_URL
|
||||||
content:
|
$CI_STEP_STATUS
|
||||||
subject: "CI: [{{ prev_pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }}"
|
EOF
|
||||||
body: |
|
|
||||||
{{ repo.full_name }}<br>
|
|
||||||
{{ commit.sha }}<br>
|
|
||||||
{{ pipeline.url }}<br>
|
|
||||||
{{ step.status }}<br>
|
|
||||||
when:
|
when:
|
||||||
event: [push]
|
event: [push]
|
||||||
|
|
||||||
runs_on: [ success, failure ]
|
runs_on: [ success, failure ]
|
||||||
|
|
||||||
|
# mail als extra file das immer getriggert wird
|
||||||
|
# nutze allzweckcontainer mit mailx
|
||||||
|
|
Loading…
Reference in a new issue