Notifications
It is often useful to receive an email when certain status changes occur in a stage. For example, a developer might want to know when their own check-in has broken the build. Alternatively, a manager might want an email whenever a project is deployed into production. Both of these scenarios can be covered by Notification Filters
Notifications will only work if Security is enabled and mailhost information is correct.
Example usage
Usage: As a developer, I want to be notified when I break a build on โacceptanceโ pipeline.
-
Click on the Preferences tab

-
Click โEditโ and enter the email address, and make sure โEnable email notificationโ is checked
-
When I check in, my source control log in will be either โUserโ or โusernameโ, so enter both of those into the โMy check-in aliasesโ box

-
Click โSaveโ to store these values
-
Add a filter for the โtwist-pluginsโ stage of โacceptanceโ pipeline to notify me when a check-in of mine breaks the build

Events
You can set up notifications for different events
- All - all the runs for the stage
- Passes - the passed runs for the stage
- Fails - the stage run that continues to fail
- Breaks - the stage run that broke the build
- Fixed - the stage run that fixed the previous failure
- Cancelled - the stage run that was cancelled
Previous state influences Event type
The table below shows how the previous state can influence the triggered event:
| Previous state | Current state | Event |
|---|---|---|
| Pass | Fail | Breaks |
| Fail | Fail | Fails |
| Fail | Pass | Fixed |
| Pass | Pass | Passes |

Iโll be emailed whenever the โtwist-pluginsโ stage of โacceptanceโ pipeline breaks due to my check-in
Iโll be emailed whenever the โbuildโ stage of โpluginsโ pipeline fails due to my check-in
Iโll be emailed whenever the โupload-installersโ stage of โdistributions-allโ pipeline passes for any check-in
Iโll be emailed on all events for any stage of โregressionโ pipeline for my check-in
Users can also select to get notifications for a particular (or all) event on any stage of any pipeline.

Iโll be emailed whenever any stage of any pipeline fails due to my check-in