Is there a way to include part of the log in the email of a failed build?

Hello, I have been reading the documentation (https://confluence.atlassian.com/bamboo/modifying-notification-templates-289276982.html) but is not very clear on what I need to do in order to add the log of a build that failed to the email template.

As an example a build failed and through the web page I can see:


BUILD FAILED
/home/bamboo/bamboo-agent-home/xml-data/build-dir/SFDCSVC-DOWOT-JOB1/build/build.xml:448:
*********** DEPLOYMENT FAILED ***********
Request ID: 0Af1100000UdlBTCAZ

All Component Failures:
1. email/FGI/Claim_Creation_Confirmation_Email.email -- Error: An unexpected error occurred. Please include this ErrorId if you contact support: 467801038-85773 (482482647)
2. email/unfiled$public/Payonomy_Consolidation_Item_ARUDD.email -- Error: An unexpected error occurred. Please include this ErrorId if you contact support: 467801038-85799 (482482647)

*********** DEPLOYMENT FAILED ***********

 

Would like to receive that exact same error message in my email. 

Nowadays I'm receiving in the email the list of failing jobs and the commits. Would like to also receive the error message that the build shows through the page. Any idea how I can achieve this? I understand that email templates is the answer but couldn't find any place where is ssaying which email templates links to which plan event, and which information is available to use per each event. Basically in my case I couldn't find which template I need to update nor with what.

Thanks for any help and guidance!

0 answers

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,798 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