Why is this build trigger pattern ignored?

I have the following build trigger pattern setup for a project, but TeamCity builds the project even when I think changes should be ignored. Here is the trigger pattern
--
+:ViewDocumentsOnline\**
+:ViewDocumentsOnline_deploy\**
+:Ceoimage\**
+:Ceoimage.Basecamp\**
+:Ceoimage.Basecamp.DocumentServers\**
+:Ceoimage.Documents\**
+:Ceoimage.Interop\**
--

The build is triggered when I check in a project named "AllProjects.sln" to the root, but shouldn't that change be ignored because it does not match the build pattern? Are the periods in the folder names gumming things up because they are interpretted as willcards? Event so, "AllProjects.sln" does not match "Ceoimage*". What am I misunderstanding?

4 comments
Comment actions Permalink

Any ideas on why this build trigger seems to be ignored?

0
Comment actions Permalink
Sorry for long the delay. The question is still actual with latest TeamCity release?


Kind regards,


Marina
0
Comment actions Permalink

I think that you might want to start it with
-:.

to ignore everything, and then all the +: add the ones you want to look at.

I'm assuming that the -:. isn't implicit.

0
Comment actions Permalink

Hi

As mentioned in the doc

When entering rules please note that as soon as you enter any "+" rule, TeamCity will remove the default "include all" setting. To include all the files, use "+:." rule.



If you experience any problems - let me know, and we'll troubleshoot them.

Michael
0

Please sign in to leave a comment.