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.
Please sign in to leave a comment.
Anybody have any ideas?
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.