Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Handling Pull Request Approvals in Bamboo

Hi All,

Using BitBucket Repository (Cloud) and Bamboo Server 6.2.2

I have a scenario where I need to do the following.

 

1. PLAN-A - Want to check that the feature branch merges cleanly with the branch it was started from. Doe some compilation and basic checks.

  • A pull request is opened.
  • Bitbucket sends a trigger to Bamboo with a Web Hook.
  • Bamboo creates a branch for PLAN-A and builds it. 
  • Every time a new change is added to the branch the branch plan is executed. 
  • Results are posted to Pull Request

I have configured a web hook on Bitbucket like this.

https://MY_BAMBOO/rest/triggers/1.0/remote/changeDetection?planKey=MY-KEY&skipBranches=false

I have a Bamboo Plan with a remote trigger set. The plan creates a branch on pull request creation. This seems to work fine. If there are changes then the branch plan is created and executed. 

2. PLAN-B - Merge the change into the branch it was branched from. Doe some compilation and checks. Push the merge back to BitBucket.

  • Bitbucket sends a trigger to Bamboo with a Web Hook.
  • Bamboo creates a branch for PLAN-B
  • The branch is merged into the base branch.
  • Bamboo builds it.
  • On success the merge is pushed back to BitBucket which closes pull request.

 

This kinda seems to work. Sometimes I feel like it says no changes detected. Also I cannot seem to configure a GateKeeper merge strategy. The option is simply not there. 

 

Has anyone else had a scenario like this one?

0 comments

Comment

Log in or Sign up to comment
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you