Trigger rules for multiple VCS roots

Hello,

I have found that in order to poll for all changes for a particular build I need to set use 2 VCS Roots.

There doesn't seem to be a way to create a VCS trigger on a per VCS Root basis therefore my VCS Trigger has rules set for both VCS Roots. My question is will this work?
i.e. Will specific include VCS Trigger rules apply correctly to 2 different VCS Roots?

Thanks,
-Dave

2 comments
Comment actions Permalink

Hi,

Trigger rules syntax is the following:

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


So you can select for which VCS root to apply which rules. If you do not specify any VCS root in the rule, then trigger rules will be applied for files from both VCS roots.

0
Comment actions Permalink

Ah. I see. I missed that in the documentation. Thanks, Alina!

0

Please sign in to leave a comment.