mail on failure

This commit is contained in:
tobiaskaminsky 2017-11-07 10:01:33 +01:00
parent d4b7d264ef
commit 7251088844
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -39,6 +39,19 @@ pipeline:
when:
matrix:
FLAVOUR: Lint
notify:
image: drillster/drone-email
host: $EMAIL_HOST
port: 587
username: $EMAIL_USERNAME
password: $EMAIL_PASSWORD
from: nextcloud-drone@kaminsky.me
recipients_only: true
recipients: [ $EMAIL_RECIPIENTS ]
secrets: [ EMAIL_USERNAME, EMAIL_PASSWORD, EMAIL_RECIPIENTS, EMAIL_HOST ]
when:
status: [ failure ]
matrix:
FLAVOUR: