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 vote

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
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
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

62 views 1 3
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