Let's say I have two “projects” in TeamCity, which are two websites, each of which uses a shared library that is not in the svn path of the website. Here is the svn structure to make it more understandable:
Website A: svn: // root / web / websitea (uses shared library a)
Website B: svn: // root / web / websiteb (uses shared library b)
Shared library A: svn: // root / shared / liba
Shared Library B: svn: // root / shared / libb
How do I set up a teamcity project for website a? Right now, I am pointing to svn: // root, but that would force it to initiate the build even if website b or shared library b was changed, which is wrong. I really need the ability to run the build only if svn: // root / web / websitea OR changes to svn: // root / shared / liba.
I tried setting up two vcs roots in the same project, which point to the two svn paths above, however, there seems to be no way to set a working directory for each vcs root. For this reason, he simply copied the contents of two SVN paths directly to the root of my build directory instead of putting them in the right places (C: \ Build \ Web \ WebsiteA and C: \ Build \ Shared \ LibA).
teamcity
Justin
source share