Multiple projects within same VCS root

I have a number of projects which all live within the same subversion root and depend on libraries and tools at the top of the root.

for example, the subversion folder is laid out like:

root\
root\lib
root\tools
root\project1\src\project1.csproj
root\project2\src\project2.csproj
etc

I currently have each set up as independent projects with a shared root which is checked out automatically by the agent. However, this means that when I enable build triggering on checkin, any changes in any project trigger all the projects to build.

I can't figure out how to set the trigger rules to be inclusive (rather than excluding all projects +except +the target one) so that only changes within the target project trigger a build.

I'm currently approaching this by checking out the svn root manually in script and having the root in teamcity set to the specific project directory. Is there a better way?

Many thanks,

Will Holley

2 comments

Will,

Provided, you have one of the latest EAP releases, you can try to set VCS trigger rules for project1 as follows:
-:root/**
+:root/project1/**

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.