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

Marcos Fernandez November 14, 2018

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
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 26, 2021

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
Gerhard Forster
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 16, 2018

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

Oleksiy Kononenko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 15, 2019

Really Atlassian?

Like # people like this
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2021

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

jevin ji xu March 4, 2021

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
AUG Leaders

Atlassian Community Events