clean sources - clean checkout directory

When sourse are cleaned I notice that the whole checkout
directory is not cleaned but only the vcs root using the checkout rules.

I have seven mecurial repositories that are all output to a sub folder of the checkout folder, these are cleaned but I also create other folders during the process of a build and these are not removed.  If there was a hook into the clean so I could perform other operation is may be useful.

2 comments
Comment actions Permalink

Please consider using Build Files Cleaner instead of clean checkout. It should handle generated files, and also it's much faster.

0
Comment actions Permalink

Thanks for the suggustion but the problem is not actually for a user triggered clean checkout but when teamcity itself detects it needs to perform a clean checkout.

I have also come across the situation when a project is deleted from teamcity and then re-added a while afterwards. The prevously existing sources are used along with all the generated binaries with no cleaning performed at all.

0

Please sign in to leave a comment.