Struggling with Bamboo SVN file pattern

I'm using Bamboo V3.4.3 with Subversion V1.6.17 and I'm struggling with the file pattern to exclude changes from specific folders. The repository URL ends with "trunk" (which is the root folder).

The folder structure below "trunk" looks like: subproj1/projA1/*, subproj1/projB1/*, subproj1/projC1/*, subproj2/projA2/*, subproj3/projA3/*, subproj3/projB3/* and so on.

Now, how must I setup the file pattern to exclude changes from "subproj2" and "subproj3/projB3"? I read RepositoryIncludeExcludeFilesExamples and tried different settings (which didn't work).

Does the commit folder has an influence on this pattern; means, if I commit on folder level "subsproj2" or "subproj1/projB1" or "trunk" (for instance), does this influence if the file pattern works or not?

Thanks in advance for any help.

1 answer

1 accepted

This widget could not be displayed.

Now, how must I setup the file pattern to exclude changes from "subproj2" and "subproj3/projB3"?

How about setting 'exclude pattern' as "(subproj2|subproj3/projB3).*" ? will that do the trick?

----

edit: how about "/trunk/(subproj2|subproj3/projB3).*" ? Will that do the trick?

From what I see Bamboo retrieves full path to the commit files (so it includes the "/trunk/" part too, which is not intuitiv I'd say). Please check if that solve the problem - I'd update documentation then.

This pattern I tried more than once (also before). It doesn't work.

Right... I've updated my answer (above).

That's it. Thanks so far

This was the bain to my branch trigger existence. Always assumed it started relative to the scm URL.

I'm struggling with the same thing. I've tried and tried different regex patterns, but every time I run the plan, both folders are checked out instead of just the one I want.

AntBuildScripts/ANCHORscripts - don't want this one

AntBuildScripts/Internetscripts - would love to see just this one :)

I only want to checkout Internetscripts for this plan. Once I get this working, I can tweak the include pattern for all of the various projects under our Internet repo. Any suggestions would be fabulous.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

153 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you