We're using TeamCity 9 now.
Is it possible to set up a rule in our build configuration so that TC would force a clean check-out directory before a build if the change list triggers this build contains certain types of files?
For example, if I check in a file named as *.clean, we would like the TeamCity agent performs check-out directory cleaning before running the build. We don't want it get cleaned up every time a build gets triggered because that would take much longer and not acceptable in our dev environment.
I went through the "Build Features" in Build configuration but I didn't find anything there.