Hi team,
I have following config.yml. I receive email notification for each run. But the notification is based on workflow and not on jobs. So most of the time the run - build succeeds but tests fails which causes failed email notification. Is there a way to get 2 separate emails (one for buiild and one for test?) as per below config.
Thanks for the support !
version: 2.1
jobs:
prod-job:
docker:
- image: <>
steps:
- checkout
- run: <build>
- run: <test>
workflows:
deploy:
when:
and:
- equal: [ daily-job , << pipeline.schedule.name >> ]
jobs:
- prod-job