vcs root filter for vcs build trigger not working?
I have these vcs trigger rules:
+:root=Trunk **
-:Tests/**
my vcs root name is "Trunk".
This build configuration never triggers anymore. Am I using the correct syntax? It matches what I found in the helpfile.
Please sign in to leave a comment.
Hello Lucas,
Do you have one VCS root in this configuration? If yes, there is no need to specify the root, please try the following rule:
-:Tests/**
Also I notice, there is space in "+:root=Trunk **". It's just a mistake?
Hope this help,
Marina
This configuration has one VCS root. The reason I have the VCS filter in there, is that when somebody copies the project this buildconfig lives in, I do not want to build on every commit.
since there is no comfortable way to say "copy project without build triggers", I am using this trick to make sure that the build trigger only works on our "trunk" vcs, and not on others.
The space in +:root=Trunk ** is not a mistake. It is written like that in the help. What is the correct syntax for saying:
Trigger on any modification to any file, as long as the name of the vcsroot is Trunk ?
Please try +:root=Trunk:**/*.
Kind regards,
Marina