There are 2 vcs:

picture 1

Is it possible in TeamCity to disable the automatic check for changes for 1 of 2 VCS.

UPD Triger:

enter image description here

Thanks for the help!

  • what check? check what? - Senior Pomidor
  • How to understand the change check? - Senior Pomidor
  • @SeniorAutomator, for example, after git push - romka.pm
  • What does "yes" mean? )) How to understand the "check for change"? that is, you do not want your configuration to start on a commit to a commit if a commit appears in this repository? those. Should it only be sent if the commit is in a specific repository? - Senior Pomidor
  • @SeniorAutomator, corrected :) I added the triger, only select for which VSC it is not possible, respectively, it monitors both. And I need only for 1. I don’t know how to communicate at all (. - romka.pm

1 answer 1

Add new trigger -> VCS Trigger

here the trigger on event in VCS is configured. enter image description here

We need to set up Trigger rules: which will "steer everything".

In the same place, we can choose a specific repository for which the trigger will work. The default is <any VCS root>

You can also use other filters . Or the filters will be pulled from the configuration itself. This is useful if different configurations on the same level should work differently.

 +|-[:[user=VCS_username;][root=VCS_root_id;][comment=VCS_comment_regexp]]:Ant_like_wildcard 

for example, -:user=some_Dev_user // exclude this user

 +:comment=prod // стратовать только при комментарии `prod` 

enter image description here

  • Fine! Thank!!! - romka.pm