Using Generic Build Plans in Bamboo with Bitbucket Server (local)

I am using Bamboo and Bitbucket for Chef cookbook development. I have each cookbook in its own repository under a single project in Bitbucket Server. I have currently about 25 cookbooks with more planned but the problem I'm going to run into is having to specify a build plan for every single cookbook, along with a corresponding deployment plan. As this project matures, I see this becoming a confusing mess. 

I want to know if it's possible to have Bitbucket call the build plan upon commit to a specific repository and provide Bamboo with the repository name that was modified. I have the full application link between Bamboo and Bitbucket Server. I have tried configuring this, but whenever I specify Bitbucket as my source countrol, I'm forced to choose a repository (Linked repository). 

Does anyone know how to configure this type of scenario? Switching to a monolithic repository or otherwise combining all cookbooks into a single repository is out of the question.

2 answers

0 votes

That is how it will work. You will have separate plans for each repository and will have a deployment plan for that.

If you are looking to have a single plan for all the repositories, that won't have happen unless you write some serious customization.

I would prefer to automate the creation of separate plans instead!

Plan Creation Scripting has solved our use case for creating and updating a number of similar plans. In our case, it also includes across multiple Bamboos.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

694 views 5 9
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