Deploy trigger based on regex-created build branch?

I have my build plan setup to auto create branches that match a regex (such as 'release-xx' or 'hotfix-xx') however I don't see how I can automatically deploy those branches which Bamboo is adding via regex? The Deploy triggers on successful builds seems to require an exact branch name...

3 answers

1 vote

Well, Bamboo doesn't allow automated creation/deploying of Deployments for new branches. I'm not really sure how your workflow works - can you provide more details on that?

I think that creating/deploying automatically would be a mess: these deployments would overwrite deployments from other branches in an uncontrollable way.

We have this need for NuGet packages.

We want to be able to trigger deployments for alpha (development), beta (release/*), and production (master) channels.

We're stuck on the beta releases for this very issue.

I have the same problem/question. I would like to add a trigger for an automatically created plan branch.

Our team is working as described in the GIT workflow: https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow

We need it for the release branches. There is only one active release branch at a time. The plan branch is created automatically, and any pushes to it should trigger a deployment. For now, we are adding a trigger for each release manually. But it would be handy to have this automated.

 

It would be nice to be able to use a wildcard/regex in the trigger configuration, as it is possible for the creation of plan branches. Something like "release/\d+.\d+" or "release/*"

 

Kind Regards

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,586 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you