title: MS Release management clean up of drop folders
body: <p>We have four stages in our release path (DEV, TEST, UAT and PROD) and I had been planning on using the validation step on DEV as a release to TEST gateway. If the developers think that it's worth the test team looking at a build they approve it otherwise they reject it (with different approvers on the other stages).</p>
  
  <p>I'm looking to get some sort of clean up running on the build drop folder for builds that have been rejected (or abandonded). Either by deleting them or by changing the keep indefinitely flag on the TFS build.</p>
  
  <p>Is there anyway to do this manually (or better yet automatically?) </p>
  
  <p>I suspect it could be done by querying the RM database and calling the TFS api but I'd like to save the effort of doing this myself.</p>
  
  <p>Meant to say that this is partially covered here (with a "no"):</p>
  
  <p><a href="https://stackoverflow.com/questions/23873141/how-do-we-delete-a-release-in-tfs-2013-release-management">How do we delete a release in TFS 2013 Release Management?</a></p>
  
  <p>But it's only really the drop folder I care about not the release.</p>