Build Trigger - Excluding subfolder not working

Hi,

I'm trying to configure an exclusion for a build trigger but for some reason it doesn't seem to work and I haven't been able to find solution in documentation or similar posts.

I have configured the following to include a directory and all its sub folders and then added an exclusion to ignore one folder however whenever there is a change in this excluded folder it still triggers a build.

+:root=CodeRepoName_Https:api/applicationX/**
-:root=CodeRepoName_Https:api/applicationX/Testing/**

Could anyone provide any help as to why this isn't working?

Thanks

0
1 comment

Hi. In the simple scenario like the one you described, it should not happen. However, the build may still be triggered if you merge another branch into the monitored branch, and the merge commit is the parent to some commit that changed a file that matches the trigger rules.

0

Please sign in to leave a comment.