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.

4 comments
Comment actions Permalink

Trigger rule should be in the following format:

-:user=myusername:**

Also please make sure that username is your VCS user name (not TeamCity).
0
Comment actions Permalink

I corrected trigger rule.
I have no users in Version Control Username Settings.

Capture.PNG
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.

0
Comment actions Permalink

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).

0
Comment actions Permalink

Thanks a lot! It works for me now.

0

Please sign in to leave a comment.