I have a build definition used in a Gated Check-In build. Its CleanWorkspace
parameter is set to None
, i.e. the build is incremental.
The problem is that after the reboot TFS does not recognize that the complete workspace folder is gone (of course, it is RAM drive) and does not attempt to bring all the sources again, which results in a build failure until a full build is manually queued. After that everything is fine until the next reboot.
I am wondering whether there is a better way to have incremental build work on a RAM drive, specifically, is it possible to tell TFS to do the full build if the root workspace directory is missing? Other approaches are welcome as well.
Note, that I am not interested in the "write through" option, where the RAM drive is backed by a real HD space.