-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Pipelines - Manual / Scheduled Triggers
-
9
-
Severity 3 - Minor
-
5,600
As a operator
I want to be notified by email when a scheduled task failed to execute
So that I can execute the task manually.
Issue Summary
Scheduled pipelines fail to trigger email notifications on build failure events. It turns out to be a serious issue when build fails in non-working hours as the team is not aware of the failed scheduled builds
Steps to Reproduce
- Configure scheduled pipelines that result in failure
- No notifications sent
Expected Results
Email notifications should be sent to the watchers on the repository.
Actual Results
No email notifications sent
Workaround
To use https://bitbucket.org/atlassian/email-notify/src/master/ pipe to trigger an email
image: atlassian/default-image:2 pipelines: default: - step: name: test email pipe script: - exit 1 after-script: - pipe: atlassian/email-notify:0.4.0 variables: USERNAME: '<string>' PASSWORD: '<string>' FROM: '<string>' TO: '<string>' HOST: '<string>' # PORT: '<string>' # Optional. # TLS: '<boolean>' # Optional. # SUBJECT: '<string>' # Optional. # BODY_PLAIN: '<string>' # Optional. # BODY_HTML: '<string>' # Optional. # ATTACHMENTS: '<string>' # Optional. # DEBUG: '<boolean>' # Optional.