Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Referencing Bamboo variables Edited

I am new to the Bamboo and I am trying to add a bamboo variable value to the email notification that Bamboo sends out when a build is successful or failed.  I have a variable called "branch_name" that I can refer in the bamboo shell scripts as ${bamboo.branch_name}.

But I don't understand how I can add this to the email notification ftl file "notificationCommonsHtml.ftl". Can any one please explain how to achieve this?

I read the following post: https://community.atlassian.com/t5/Bamboo-questions/Customize-Bamboo-email-notification/qaq-p/252956

But I don't get how to map the bamboo variables to the buildSummary or any other variables in the ftl file.

 

Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted

I'm afraid Bamboo variables are not (officially) exposed to the Freemarker notification templates - please watch and vote for the following issue to raise Atlassian's awareness of this obvious feature gap:

That being said, please note that the last commenter asks for "a list of variables that are available to the notification templates" because his experiences seems to be that "Some work, some don't. And it merely seems the ones that work are accidental." - I'm not aware of any myself though, maybe you can ask him for clarification and are lucky that the ones you need are available (I wouldn't put my hopes too high here, though, it's pretty unlikely given the lack of official support).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

1,069 views 0 16
Read article

Community Events

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

Events near you