Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I exclude a folder in Bamboo

Y July 11, 2011
all,

I would like to exclude folder from been able to trigger bamboo.

what I did:
1.select "exclude all changer that match ....
2. file pattern : **/folder/** or ./folder/.
This not working .

project structure : /main/folder/

depot view : /main/...

any idea ?
yos

5 answers

1 accepted

2 votes
Answer accepted
Renan Battaglin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2011

Hi,

Please, try using the following:

.*/folder/.*

Cheers,
Renan

Y July 20, 2011

Hi Renan !!!

Thanks a lot !!!!!!!!!!!!!!

It works

Yos

Like mahboob_sharif likes this
1 vote
Jacob Eggers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2014

Does anyone know if it is possible to do the exclusion on the plan level instead of the repository level? I have two plans that use the same repository, but I'd like to only build the plans with relevant changes.

Maxime Loliée
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2020

I would like to do the same, stuck in mono-repo

Like mahboob_sharif likes this
0 votes
David Honey
Banned
October 24, 2024

To exclude a folder from triggering Bamboo, ensure your file pattern correctly targets the folder structure. Instead of using **/folder/** or ./folder/, try using /main/folder/** as your file pattern.

This adjustment explicitly references the project structure and may resolve the issue. Excluding specific folders can streamline your build process, reducing unnecessary triggers and improving efficiency, which ultimately supports better resource management and business productivity.

0 votes
Socio Panda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2023

Does anyone know if the exclusion can be performed at the plan level rather than the repository level? I want to just build the plans with modifications that are pertinent even though I have two that use the same repository.

0 votes
kweinheimer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2017

I was able to exlucde a folder at the root of my source and all its subfolders with this

 

myrootfolder/.*

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events