Is there any mechanism available (preferably through the TFS API) to delete the drop output of a deleted build?
We have a number of deleted builds were the drop output still remains, as a result of the retention policy of the build definition in the past not being set to delete "All".
Querying the relevant builds and "redeleting" with IBuildDetail.Delete()
or IBuildServer.DeleteBuilds(builds)
has no effect (which one may expect), nor does IBuildServer.DestroyBuilds(builds)
.
Is the only option to get the drop location from the IBuildDetail
and use the standard System.IO
file/directory classes to perform the directory delete?