Hello everyone,
I have a bamboo plan with several branches and a triggering tag configuration like this .*$ for all of them (=any tag triggers the execution). The moment I create a tag in the repository, the plan is executed for all branches instead of the branch where the commit with the assigned tag is. But the most curious thing about the case is that all branches use the same git branch, even having other branches assigned. I.E.
Plan for X with tag triggering .*$
Then I commit changes into repository X branch dev and after I create a tag and assign it to this commit. What happens is:
Any idea how to prevent all the plan branches being executed when a tad is used in a particular git branch?
Thanks
Hey @oscarmateu,
Welcome to Atlassian Community!
Can you confirm if you are following this workflow?
If you are skipping #2, the tag may be shared between the "old branch" and the branch you had just created, making Bamboo trigger multiple builds that still refer to the last revision that the tag is linked to.
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Hi Eduardo,
yes, I do it exactly as you described.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @oscarmateu
If the Git revision is unique, Bamboo should consider the tag and only trigger that specific Plan branch as it will be only part of that revision. Could it be the case that the Plan Branch you are referring to is actually pointing to the "release" branch instead of the expected "dev" branch?
Please review the Plan branch setup by selecting the Plan Branch configuration >> Repositories and make sure that the selected Branch matches the desired Branch you want to trigger the build from.
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.