We commit our projects to our local subversion server. Each of our projects has a folder called projectmaster. This folder is a nested svn working copy (with a different svn root as the projects it resides in) which contains common files we use in every project.

I managed to setup a teamcity (v.8.1) configuration to checkout and build one of our projects. The build fails, because I don't know how to tell teamcity to checkout the project and the nested projectmaster before building the project.

Any advice on how I could solve this problem?

Best regards, Sascha

有帮助吗?

解决方案

I found a solution. The error in my approach is that I checked out the projectmaster as a working copy on it's own.

Instead I have to use externals. That is I needed to define a svn:externals property on the root folder of my project working copy, that links the subfolder "projectmaster" to the external svn repository of my projectmaster.

As soon as that is done checking out or updating the project automatically checks out or updates the external.

That way teamcity will be able to build my project.

Sascha

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top