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?
Hi @Anton_Kuryan,
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.
-Jimmy
But this means that I will modify notifications for a whole Bamboo installation, is not it?
My Bamboo installation serves a lot of builds and deployments, while I am in charge for only small part of them. Is there more granular way to do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Anton_Kuryan,
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.
-Jimmy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.