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

Single linked repository with multiple plans trigger on changes in specific directories

We have a repository with multiple services that should be built and deployed individually, but are all related. Since there's just one repository, it makes sense to not configure the same repository many times as plan repositories (also, plan repositories are marked as deprecated in the docs and will be removed in the future). Although, this is of course an option, one repository configuration for each plan, where only specific directories are included for each.

I don't really require a sparse checkout, but I would like to have polling trigger only on changes to files in specific directories. So we don't kick off 10-20 builds and deployments every time we push a commit.

I'd also like builds to happen automatically, and deployment to staging to be automatic on changes to the master branch, but not for unchanged services.

In Jenkins this is quite easy, as you can poll specific sub-directories or files, but triggers seem very limited in Bamboo.

1 answer

1 accepted

0 votes
Answer accepted
Chris Berry Atlassian Team Oct 18, 2018

Hello Sigmund,

You should be able to achieve what you want by using the regex feature of change detection.

Configure the plan, goto the Repositories tab and select your repository.

Scroll down to the bottom and expand Advanced Options.

There is a dropdown for "Include / exclude files", select "Include only changes that matches to the following pattern" then a textbox will appear underneath it where you can specify a regular expression to express your subdirectory.

This is discussed in an old community post.. https://community.atlassian.com/t5/Bamboo-questions/Is-there-a-way-to-trigger-a-Bamboo-build-on-changes-to-a/qaq-p/247407

thanks

Chris

Atlassian support - Bamboo

Ah, this is possible on a plan basis for linked repos in newer versions? I just joined the project, and the Bamboo installation is quite old, 5.7. :/

I will recommend we allocate some time to upgrade.

Thanks!

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 ...

219 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