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

Include/exclude pattern and change detection option

Anna February 26, 2018

So I have one repo and I have three builds. Repo has front end and back end code. 

I am trying to create three builds

1> FE  only

2> BE only

3> FE+BE only.

My reqmt is:

\A> i want to create a plan branch (on FE_only) for a bitbucket branch  only when when changes are made to files in  a/x, a/y or z folders of a particular repo.  

B> I also want to create a plan branch on BE_only  when a branch "doesn't" change files in a/x, a/y or z

 

I tried many patterns, but nothing seemed to work. Any pattern I give creates a plan branch in both the above mentioned plans. Can you help me with the regex i should use to implement A and B?

for FE+BE build I'll create a plan branch irrespective of where the change happened. So thats easy.

 

 

 

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Exclude/include pattern doesn't work for branch detection. It's possible to use pattern for branch path Screen Shot 2018-02-27 at 15.15.34.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events