Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Auto trigger for multiple repos

I have a single bamboo plan and added multiple repositories to this plan

and auto trigger is enabled.My plan contains Sourcecode checkout , Maven 3.x

and multiple repositories added to it. Each repo has its own pom file.

1. I need the build for only the committed repository .If my git hub REPO-A got committed ,my build plan should run build for only REPO-A , and not for REPO-B,C etc.,.

2. while i'm having multiple source code checkout how does maven 3.x tasks will work for each repository .

 

What is the best way to handle it

 

 

 

1 answer

1 vote
Jimmy Seddon Community Leader Sep 08, 2020

Hi @kpitch,

What you want to do isn't possible with a single build plan.  What we ended up doing was creating one build plan per repo that built what needed to be executed (we are using MSBuild not maven) and we saved the artifacts.

We then have another build plan that aggregates all of the built artifacts into a single package for our release process.  This "collector" build plan is triggered upon successful completion of one of the three triggering plans.

This way, you can have the actual build only run for when code is changed, but you will have a single plan you use for the rest of your deployment process that always has the most up to date build artifacts.

I hope that helps!

-Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

154 views 0 4
Read article

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