Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,443
Community Members
 
Community Events
165
Community Groups

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 on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
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