How to exclude tags folder from triggering build in Teamcity?
Posted
by Jaya mareedu
on Stack Overflow
See other posts from Stack Overflow
or by Jaya mareedu
Published on 2010-03-19T12:59:34Z
Indexed on
2010/03/19
13:01 UTC
Read the original article
Hit count: 228
Hello,
I recently installed Teamcity 5.0.3. I am trying to setup automated build for a .NET 2.0 VS2005 project. I use NAnt and MSBuild task to perform the build. The project structure is a typical SVN structure
svn://localhost/ITools is my repository and the project structure is
VisualTrack
trunk
branches
tags
I created a new project in Teamcity and then created a build configuration for that project. I asked it to kick off a build everytime there is a change detected in SVN VisualTrack VCS. I also configured it to create a label in VisualTrack/tags for every successful build. The problem I am running into is that the build is getting trigerred everytime teamcity is creating a new label under tags. I only want the build to be triggered if some developer commits his or her changes into trunk. Next step I took was to create a build trigger rule to exclude the tags path by specifying a trigger pattern as -:VisualTrack/tags/**, but looks like its not working. I believe the pattern I specified is not correct. Can someone please help me resolve this issue?
Thanks,
Jaya.
© Stack Overflow or respective owner