How can I use single Build plan for Multipel Repos in Bamboo

Akshay May 27, 2020

Hi Team,

 

How can I use Multiple repos to use in single build plan, So if I changed in one of the repo bamboo should trigged the build by taking changes from that repo only.

 

 

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2020

Hi @Akshay,

Welcome to the Community!

What you are asking for isn't 100% possible.  Here is the best that I was able to come up with to work around that same issue.

I created individual build plans for each of the repositories I wanted to trigger a build when changes happen.

Then, I have a "master" build plan that is triggered upon successful build of any of those other builds and all it does is collect the artifacts from all of the build plans.  That is the closest I've been able to get monitoring multiple repos but only build that which has changed.

I hope that helps!

-Jimmy

Akshay May 27, 2020

Hi @Jimmy Seddon ,

 

we have 250 repository for JAVA project and 700 for IIB services

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2020

In that case I'd recommend build the plans with Bamboo's Java specs since you can have a programmatic way of building and updating the configuration.

Overview: https://confluence.atlassian.com/bamboo/bamboo-java-specs-941616821.html

Reference guide: https://docs.atlassian.com/bamboo-specs-docs/7.0.4/specs.html?java 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events