How to limit disk space of local TFS/VSTS build agent?
<p>Currently my team is using local build agents for our on-premise TFS 2015 installation. We've installed these build agents on our own development machines. However we are having issues limiting the space required for the continuous integration builds.</p>

<p>Our disk space is limited. Consequently we have to remove old build tasks (including sources and artifacts) manually to clean-up disk space.</p>

<p>Is there some way to automate this? Preferly by telling TFS to automatically remove older build tasks.</p>