how to exclude one of several VCS roots from triggering builds?

I have several projects that use multiple VCS roots. After reading the documentation I've tried several ways to get exclusions to work, but they are not.

For now, it would be sufficient to exclude an entire VCS root or exclude all commits from a specific user. We are using GitHub.

Can you give me a concrete example of how this is done?

 

Thanks,

Rob.

0
1 comment

Hi Rob,

The easiest way to disable a VCS root from a given build without having to worry about the triggering method would be to detach it from its build configuration. That way the root will still be available for the rest of the project(s), while it won't be used for that particular configuration.

You can use the advanced options in the VCS Trigger rules to filter usernames, branches or full VCS roots from triggering builds, but be aware that this will only work at the trigger level. If you trigger a build manually, it will not follow such restrictions. More information here:
https://confluence.jetbrains.com/display/TCD10/Configuring+VCS+Triggers#ConfiguringVCSTriggers-VCSTriggerRules

Avoiding all commits from a given user can't be done unless they are all in a given branch/root, where you are able to exclude the branch through the branch specification in the VCS Root configuration, and the root as mentioned above.

If you are finding that any of this misbehaves, please send us a screenshot with the relevant information (vcs configuration, trigger rules if apply, etc), and a build log of a build triggered after setting it up.

0

Please sign in to leave a comment.