I am experiencing the following problem with TeamCity 9: my snapshot dependencies are being cleaned up once a week!
The documentation explicitly says that it should not happen.
I used all default settings, and it seems indeed that the files should be kept forever.
My best shot this time is that TeamCity 'forgets' the build after reboot. Can it be my issue? If I reboot a server, will it still remember that a certain folder contains a dependency?
Next, is it possible to force building a dependency in case of need? What happens now is just the dependent build fails after a cleanup. I would like to setup the system in such a way that it first checks that a dependency is available, and if not, it builds it first.
Unfortunately, it seems that now it performs some checking, and it thinks that there is a ready build available, but this is not true :(