Multiple VCS Root - Trigger Rule with one VCS only not working

Answered

We have configured multiple VCS Root to pull in Code / Test Code / Build Scripts. VCS Trigger is configured to only trigger on one VCS based on documentation - https://confluence.jetbrains.com/display/TCD4/Configuring+VCS+Triggers

Trigger Rules 

-:root=<VCS Root1>:**

Branch Filter

+:<default>

However for changes in VCS Root1 is still triggering a build.

Need some help to understand what wrong with the syntax 

 

0
1 comment
Avatar
Fedor Rumyantsev

Hello Tushar!

I have just done a quick test with a configuration having two VCS roots connected, and one being excluded in VCS trigger:

The default branch is refs/heads/master; when I committed a change to master, build was not triggered (the change is tracked as pending until build is started, either manually or via trigger firing on the second root change):


The syntax you have used to configure the rules looks correct. Could you please provide me with the screenshot of VCS trigger configuration and VCS root name? Could you please also provide a teamcity-vcs.log which covers the time and date when a build was triggered by change in VCS Root1? You may find it at <TeamCity Install Dir>/logs folder.

0

Please sign in to leave a comment.