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 votes

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
Community showcase
Published 4 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
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