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

Bamboo repository, change detection, include files

Hi, I want my Bamboo build plan to pick up changes to a specific subdirectory of my Bitbucket server repository, but it does not ever trigger a build.

The repository structure is:

/
base/
app1/
app2/

I have a build plan per subdirectory. The patterns I've tried are:

base/.*
^base/.*
/base/.*
^/base/.*

I've also tried the above, escaping the slashes '/' with a backslash '\'. No luck.

I've seen an examples document and several other community questions on the subject, but it is not clear whether the file names start with '/', or what I could be  missing.

Product versions:

  • Bamboo 6.3.0 build 60304
  • Bitbucket v5.6.1

Thanks in advance!

 

 

1 answer

0 votes

Hi Alejandro! 

 

Regarding docs: https://jira.atlassian.com/browse/BAM-18487

About options really has been written:  https://confluence.atlassian.com/bamboo0603/git-938868551.html https://confluence.atlassian.com/bamboo0603/_planrepositoryincludeexcludefilesexamples-938868266.html

 

1. BTW, what do you think create 1 plan with condition using 

 

git diff --name-only <commit1> <2commit>

 Therefore you plan can be more complicated but include different scenarios. 

 

2.  Or let's try you use git sub modules. :) Hence you can forget conditions for your triggers.

 

 

Hope it helps

Cheers,

Gonchik Tsymzhitov

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

691 views 2 7
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