BuildConfiguration (Clean all files before build) and not (Clean all files before build) using one build configuration

I would like to create one build configuration where TeamCity would:

Clean all files before build only once everyday at 01:00
Will not clean all files before build on VCS check-in - as this happens many many times during the day and we don't want to slow things down by "cleaning things up" first.

The keyword here is one build configuration.

I know I can do this using two separate build configurations but its somewhat cumbersome for users to see two different build configurations for essentially identical build.

Anyway I can set this up with one build config?

Comment actions Permalink

I think it would be better to write a plugin for TeamCity.

Pavel Sher

Comment actions Permalink

All right, where do I start?

Comment actions Permalink

This is a feature I would like to see as well - would you consider implementing something like this?


Please sign in to leave a comment.