Updated woodpecker config to send out email notifications
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-03-06 23:16:54 -05:00
parent 4dd7885d4c
commit 5fd2db4204

View File

@ -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 ]