Is it possible to add own data to email, which is sent by Bamboo on build success/failure?
My use case is following - most of the times my deployments are OK, but when they fail - I have 2 tasks, executed as post deployment tasks, which means that I could not find error easily. I wish to add errors collection in those places, where I know they are happening most recently and append those collected error to failure email.
Is it possible to achieve this by standard means of Bamboo?
Yes you can modify the email notifications. The process is documented here:
As for the use case you are looking to achieve, I'm not 100% sure how you would capture the errors you are looking to report on.
Given the example shows adding content with Bamboo variables, you might be able to save the error result to a bamboo variable that you are using in the custom notification template.
I hope that helps get you started.
I don't believe there is a way to do that at this time based on a similar response from Atlassian:
I don't see a feature request logged for that request so it doesn't look as though this is something that will be possible in the near future.
Sorry I can't offer more help.
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
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