I would like the TeamCity build process for one project inside an SVN repository to copy its DLLs into a 'lib' subdirectory of another project inside the repository, and then commit.
The project whose lib directory should be updated is 'mapped' to a subdirectory in the TeamCity checkout directory, using VCS checkout rules:
+:proj1/trunk => /
+:proj2/trunk => /Downstream/proj2
Having used MSBuild on the .sln file to build proj1, I am able to use a command line build step to copy the proj1 binaries I need into the proj2 subfolder:
robocopy bin\Debug Downstream\proj2\lib file1.dll file2.dll file3.dll
My problem is that Downstream/proj2 is not an SVN working copy so I cannot run an SVN commit from it.
How can I perform an SVN commit from TeamCity - where is the working copy to commit from? Should I leave out proj2 from the VCS checkout rules, and check it out in my command line step before copying and committing?
It seems strange that TeamCity's working directory has had .svn stripped out.