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
but
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?

4 comments
Comment actions Permalink

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

--
Pavel Sher

0
Comment actions Permalink

All right, where do I start?

0
Comment actions Permalink

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

0

Please sign in to leave a comment.