Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Trigger Bamboo build when committing to a referred project

I have a .NET Solution with 3 Projects and the following references:

 

SOLUTION1
PROJECT1
  reference project2
  reference log4net
PROJECT2
PROJECT3

In Bamboo under: Build Plan -> Repositories -> Change Detection Options,

I can specify a file pattern to detect for commit changes to the repo (ie. ^project1.*) meaning build Solution1 if there are any check ins to files under the Project1 folder.

However, what if there was a change to Project2, which is something that is referenced by Project1?  I would like to build the solution and run the tests but I don't know how to do that without looking for commits under the entire Solution at all times, which would mean any check in would trigger the build.

For example, if I have a build plan for Project1, I don't want the entire solution to build if there is a check in on Project3 which is not referenced by anything else.

Thanks

1 answer

Hi Salmaan! How are you doing?

What do you think of having 3 build plans and using Bamboo dependencies (child plans) to achieve this behavior?

Project 1 build plan would be a child plan of Project 2 build plan, so any change to Project 2 would fire a Project 1 build.

Hope this helps!

Thanks,

Cristiano

Hi Cristiano,

Thank you for the suggestion.  I think that will work but our actual Solution has a lot of projects with a lot of dependent references so I am worried about the case of setting up all of these build plans and then adding a new project to the code in the middle of the dependency tree which might require modifying everything above it.

I appreciate the feedback, at least know I know what is supported in Bamboo.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
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