Is it possible to clean checkout directory on a schedule
Hello,
I'm using agent checkout for our teamcity server. I was wondering is it possible to cleanup the build agent's checkout directory on a schedule, for instnace once a day. I don't want to cleanup for every build as it adds about 20 minutes to sync everyfiles again.
Thanks,
Please sign in to leave a comment.
I've found a way of doing this. If I create a new build configuration and set the build triggering to be Schedule Trigger, I can set the time I want to run this task. Also if I select the following options I can achieve what I wanted:
I am using TeamCity 8.1 . Is it possible to clean checkout directory for all snapshot dependencies on a Schdule Trigger with the same setting metioned in the reply ?
( note , I want to clean all files for each snapshot dependency as well ? )