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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

139 views 5 2
Join discussion

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