You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I'm looking for a plugin or a method so that I get notified when a build passed or fails however rather than just giving out the Fail/Pass message I would need the reason why it passed or failed instead so I'm lkking for something which display more info rather than:
Build # Failed
Bamboo Utility Belt › Push start Notification (Test) › #19 failed. Manual run by....
Build status update
Notified by Bamboo
Details
Responsible Users | |
From | Bambo Notification test |
Any ideas?
Thanks in advance.
Copy notificationCommonsHtml.ftl to BAMBOO_HOME\templates\notification-templates
Look for this line:
[#macro showFailingJobs buildSummary baseUrl]
This is where it displays info about the failed jobs. I updated this section:
[#if jobResult.failed]
[@displayJobRow jobResult stageResult/]
[#assign failingJob = true /]
[#-- Added to show failed job error summary --]
<tr>
<td colspan="5"><strong>Error Summary:</strong><br/>
[#list jobResult.extraBuildResultsData.buildErrors as error]
${error}<br/>
[/#list]
</tr>
[/#if]
That adds the build summary error message after each failed job.
The API has changed a bit since the original response. The error data is now in ExtraBuildResultsData. Remember to restart Bamboo after you've edited the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.