Prevent build
Hello,
I want to prevent build on the server if changes are made by concrete user.
I added a triger with the next rule:
-:user=myusername
But build is still being run if myuser makes some changes.
What more should I do to prevent build? Or may be I did something wrong.
Thanks.
Please sign in to leave a comment.
Trigger rule should be in the following format:
Also please make sure that username is your VCS user name (not TeamCity).
I corrected trigger rule.

I have no users in Version Control Username Settings.
There you can see, that the yc.TeamCity user can make commits. So trigger rule is:
-:user=yc.TeamCity:**But all this still doesn't work. When this user makes changes build is run automatically.
To find out VCS username choose one build, go to changes tab and hold your cursor on the name of committer (a hint with VCS username will appear).
Thanks a lot! It works for me now.