You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have been unable to craft a regular expression for the include/exclude file feature.
I have a single Stash source code repository. In that repository I have top-level directories named dev/ and qa/.
I have two bamboo plans. I want one to launch when there are changes to .json files in the dev/ directory, and the other should be launched when there are changes in the qa/ directory.
I set the include/exclude option to 'include...'
I expect the following regular expression should work.
But it doesn't work. Even if no .json files are changed by a commit in the dev/ directory, the bamboo plan is still launched. I have tried many, many, many variations of this pattern, like backslashing the forward slash, omitting the leading .*, omitting the \. completely, etc., etc., .... But nothing seems to work.
What should the regexp be? Am I misinterpreting how the feature works?
Bamboo is Atlassian Bamboo version 126.96.36.199 build 51120 - 04 Jul 16
Stash version is Atlassian Stash v3.9.2