Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email notifications to committers of a build or deployment

We use Bamboo's DSL using Groovy to build our "Plans". After the build was put into place, we noticed that we weren't receiving any email notifications for failed or successful builds. 

Email notifications are essential for build tools so it saves you potential time of checking the build everytime.

This is how we added notifications for builds to trigger an email to all committers in that build.

plan(key: 'CI', name: 'My SERVICE CI', description: 'CI Build') {
project(key: 'SVE', name: 'Service Project')
repository(name: repositoryName)
notification(type:'Change of Responsibilities',recipient:'responsible')
notification(type:'Comment Added',recipient:'responsible')
notification(type:'Job Hung',recipient:'responsible')
notification(type:'Failed Builds and First Successful', recipient:'responsible')

And this is how we enabled the notifications for Deployment plans. The notification needs to be added to each environment block instead of the deployment block.

environment(name: 'Prod East') {
notification(type:'Deployment Started and Finished',recipient:'responsible')
notification(type:'Deployment Failed',recipient:'responsible')
notification(type:'Deployment Started and Finished',recipient:'jiraDeployInfo',




Log in or Sign up to comment
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

94 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you