Plan branches for branch updater and Gatekeeper?

Hi,

I want to have an integration branch as my base branch. feature/dev.

I then want to create a Bamboo plan branch which will run a set of basic build checks after pulling in any changes on feature/dev. If successful, then merge the changes into the plan branch.

Flow:

  • Developer hits create branch in Jira. feature/JIRA-ISSUE-Key blah blah.
  • Plan branch is created, build is done.
  • Developer does changes and pushes on created branch. Branch integrator pulls in changes and merges to developers branch.

I create this basic build plan and linked it to my repo with feature/dev as branch. Set up my stages and jobs. Selected create plan branches and enabled merging with branch updater. 

This seems to work great smile

Now I want another plan which is downstream of these branch integrator builds. It would be the gatekeeper and run more extensive tests and if successful merge the changes back into the integration branch feature/dev for each run of a plan branch...

How to do this? I cloned the Branch integrator plan and tried to modify it to be a gatekeeper in branch merging but was unsuccessful. It is very confusing to be honest. 

Any help would be appreciated!

/Tim

 

3 answers

0 vote

How exactly is your plan configured and what is not working.

It's hard to help without more details.

I assume you have read this one already: https://confluence.atlassian.com/display/BAMBOO/Using+plan+branches#Usingplanbranches-Gatekeeper

Sorry for the late answer. But I got it working. Thanks smile

could you share the regex we need to use for feature branches?  i somehow cant get this working both merging and plan branch creation. 

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,575 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