Bamboo: copying and modifying email template file does not take effect

Hi,

We're running Bamboo 4.1.1 build 3102.
I've followed what's in the online docs "Modifying notification templates", by copying either only the one file I'm interested in or all the files from:

C:\Program Files\Bamboo\webapp\WEB-INF\classes\notification-templates\

to

C:\bamboo-home\templates\notification-templates\

Specifically modified the file BuildCompletedHtmlEmail.ftl with text that I know it will show up, but it does not work. In my case, the build is successful, and it sends HTML email that contains specifically the following for example: "1234 tests in total." So I added "SSSSS" to the end of the string in line 17 of BuildCompletedHtmlEmail.ftl:

<strong>${testSummary.successfulTestCaseCount}</strong> tests in totalSSSSS.

but no matter what when the new email comes in, it still says "1234 tests in total."

I did verify that the bamboo home directory is set to C:\bamboo-home\ and I've added the notification of "All Builds Completed", "Notify After 10 Consecutive Failures", "Notify On All Build Errors". The last two can't be it as the build is successful.

I also tried modifying "ChainCompletedHtmlEmail.ftl" but the same thing, no changes to emails. According to the docs, you don't have to restart the service...

Atlassian, please help!

Thanks

1 answer

1 accepted

1 vote
Accepted answer
Brydie McCoy Atlassian Team Jul 16, 2012

Hi,

We have introduced some template caching between now and writing those docs. I haven't tested it, but its possible that you do need to restart now. Would you mind performing a restart and letting me know whether it works or not?

Thanks,

Brydie

Yes, that did it! Could you make sure to update the docs? I wasted too much time on this...

thanks

Brydie McCoy Atlassian Team Jul 17, 2012

Sorry about that. I've raised an issue to get the problem looked at.

https://jira.atlassian.com/browse/BAM-11897

Thanks for validating it for me.

Cheers,

Brydie

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

259 views 4 1
Join discussion

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