Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

how to configure a Bamboo build to be triggered by a new tag in Bitbucket

I am trying to configure a Build in Bamboo to be triggered when a new Tag is created in a Bitbucket repository. I am using Bamboo version 6.0.0. I noticed that there isn´t any update regarding this issue in this ticket: https://community.atlassian.com/t5/Bamboo-questions/Bamboo-build-on-new-git-tag/qaq-p/383926.

is there any possible solution ?

Thanks

2 answers

1 vote

As an alternative approach, it is possible to create an automation rule using the Automation for Jira and the Better DevOps Automation for Jira apps.

Use the Tag Created trigger and one of the "starting a Bamboo build..." recipes. It is fairly trivial.

(You can also check the tag name using a condition on the {{devops.tag}} smart value.)

1 vote

Hi Marcos,

I found the following Community post for you which explains this topic very well: https://community.atlassian.com/t5/Bamboo-questions/Bamboo-build-on-new-git-tag/qaq-p/383926.

Long story short: Bamboo only provides support for branches currently. Hence, for now, you will have to create branches to match your tags and trigger your build as such.

Hope this clarifies things.

Cheers and have a great weekend,

Gerhard

Really Atlassian?

Like # people like this

Just in case if anyone lands on this page, starting from Bamboo 7.2 onwards, one can choose 'Tag trigger' based on new tags pushed.

This is explained in this page - https://confluence.atlassian.com/bamboo/tag-triggering-1031180298.html 

Cheers,
Jey

hi,

I follow this thread, and I did upgrade to bamboo 7.2 (we have one on-premise installation of bamboo ) in order use tag trigger. I have created one build plan with tag triggered (only triggered by tag, not commit).

 

Tag filer is:  ^[0-9]{3}\.[0-9]{3}\.[0-9]{3}$, and i checked the option "Only run build if the branch contains the matched tag". 

Then I push a tag 000.000.001, but build plan is not executed. 

 

Anything wrong there? Could you please provide one working example ?

BR, Jevin

Suggest an answer

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

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

506 views 1 17
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