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.
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.
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.
@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 ...
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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!
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