I have a situation that, after reading the TC docs, leaves me wondering what should happen exactly. Of course my test didn't work, so then I'm left wondering where exactly my problem is.
Here's what I'm trying to do. I want a relatively simple VCS trigger so that if anything changes I get a build unless the committer happens to be a user named "teamcity". So my rules look like:
The docs for the VCS triggers state:
For each file in a change the most specific rule is found (the rule matching the longest file path). The build is triggered if there is at least one file with a matching "include" rule or a file with no matching rules.
In this case however, it would seem that both rules are going to have equal path lengths, so which one wins? My test showed that the first rule won because I got a build resulting from a commit made by the "teamcity" user. I assume the rules are concerned with the VCS user and that those have nothing to do with TC users, in this context but that could be a bit more explicit in the documtation.