Disable checkout directory clean with shared VCS

I have two projects that both share a VCS repo but both use the same branch, same files, same everything. I don't want to clean the directory when one of them builds to save build time. Is is possible to disable the cleanout? I already tried setting system.teamcity.build.checkoutDir.expireHours to never.

2 comments
Comment actions Permalink

Anybody have any ideas?

0
Comment actions Permalink

I had this exact situation but have since moved to a different setup.

I seem to remember specifying a checkout rule to a location that wasn't under the work location allowed this to work.  I think I was using something like ../Shared/.  This was using mercurial.

I think there were other issues though, I suspect te correct way is to use snapshot dependacies but that seems a bit heavy weight.

0

Please sign in to leave a comment.