Updated woodpecker config to send out email notifications
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
4dd7885d4c
commit
5fd2db4204
@ -3,14 +3,25 @@ pipeline:
|
|||||||
image: composer:2.2
|
image: composer:2.2
|
||||||
commands:
|
commands:
|
||||||
- composer install
|
- composer install
|
||||||
|
- mkdir test
|
||||||
|
- touch test/results.txt
|
||||||
|
|
||||||
phpcs:
|
phpcs:
|
||||||
group: test
|
group: test
|
||||||
image: composer:2.2
|
image: composer:2.2
|
||||||
commands:
|
commands:
|
||||||
- composer run-script phpcs
|
- composer run-script phpcs >> test/results.txt
|
||||||
phpmd:
|
phpmd:
|
||||||
group: test
|
group: test
|
||||||
image: composer:2.2
|
image: composer:2.2
|
||||||
commands:
|
commands:
|
||||||
- composer run-script phpmd
|
- composer run-script phpmd >> test/results.txt
|
||||||
|
|
||||||
|
notify:
|
||||||
|
image: drillster/drone-email
|
||||||
|
host: smtp.int.metaunix.net
|
||||||
|
skip_verify: true
|
||||||
|
from: drone@ci-v1.int.metaunix.net
|
||||||
|
attachment: test/results.txt
|
||||||
|
when:
|
||||||
|
status: [ changed, failure ]
|
||||||
|
Loading…
Reference in New Issue
Block a user