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 ...
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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