Bamboo Build Notification Email - Customize

For our Bamboo Builds when we have an error the message is not very descriptive.


It says no failed tests found even though the build log shows failed tests. It also doesn't show which test failed or the related error.


I just wanted to know how we could customize the Build Error Email.

2 answers

0 vote

Unfortunately this is not possible via the Bamboo UI, but can be achieved by Modifying notification templates in principle:

If you want to customise the layout and content of your Bamboo notifications, you can customise the templates for each of the notification types (i.e. HTML email, text email, instant message) and events (e.g. Build Commented). The notification templates are written in Freemarker.

Some content in notifications can also be configured via system properties, such as the number of log lines to include in email notifications that display log information.

warning Changes to notification templates only take effect after a Bamboo restart.

This obviously requires some development efforts, so you might want to be aware of resp. shortcomings in the referenced documentation:

Furthermore, given the information from your failed tests isn't currently reported, it might not be readily available for access from the Freemarker notification templates either.

0 vote

@Shijit Dasgupta - my answer is complete now. Sorry for the iterative approach, but I encountered the odd restriction that "Your post was rejected because it contains blacklisted words", and the resulting post is now word by word identical to the one that I wanted to submit in the first place, alas ...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,570 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you