How to handle multiple repos with a single plan in bamboo?

Hi, I am dealing with many repositories where I want to create a single Bamboo plan. I could connect all the repositories and I want them to trigger build based on check-in into a specific repo. But bamboo server checks out all the repository when starting the build. Is it even possible in Bamboo?

1 answer

0 votes

Hi, can you please describe use case.

It's possible to use several repositories in Bamboo plan. It's possible to configure trigger to start build only when changes happened in some of plan repositories, not all of them. Does it answer your question?

Hi Alexey, Thanks for replying. I have configured more than 100 java repositories to my build plan.  But every time something changes in one of the repo it checks-out all the repositories. How do I configure that sort of trigger. Can you give me some pointers?

What kind of trigger do you need/use? There's Repository polling trigger which has checkbox for every repository you added to plan. You can uncheck some repositories if you don't want to run build on this repository change. At the same time Bamboo will checkout code from all repositories if you have checkout task for each of 100 repo.

What checkout tasks do you use?

Does your plan require source code from all 100 repositories?

It's really massive configuration, hope you use Bamboo Specs to manage it

Hi Alexey, That's where the problem I have. Even though I have repo polling trigger enabled but it checksout all the repos I have in checkout task. I don't want the server to be inflated with all the unnecessary repos even though I clean the directory after every build. But checking out more than hundred repos would be highly unacceptable.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,069 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot