Test Attachment Cleaner for Visual Studio Ultimate 2010 & Test Professional 2010
Free
Test Attachment Cleaner can be used to:
a. Determine which set of diagnostic captures (run as part of manual/automated test runs) are taking up how much space AND
b. Reclaim the space for test runs which are no longer relevant from business perspective
Does the job, But would be even better if I could run it to collect the size for each team project, as it's now I need to run it for every teamproject, having 200+ team projects it's quite hard to determin witch projects to clean.
When VStudio 2010 came out in beta, my database grew way too big because of a beta bug in TFS. The team let me use this tool after putting in an issue in Connect. The tool wiped out the extra data with ease and quickly. This tool is definately needed for any TFS admin.
Over at http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/2136f235-af66-47e5-a3b7-b7436ad96312 i have docuemnted my issue with TCMPT.
The DB has grown 2G in the last week, and the manual SQL reports show tis is in the .dll & .pdb extensions, however a
<AgeInDays OlderThan="1" NewerThan="7" />
query finds nothing ?
=> Does the tool have a bug ?
If you have a collection with 200+ projects it's quite problematic to determin which team project to clean. It would be good to be able to run it preview mode without specifing team project.
I tried using /settings and got an error message about unknown settings
I eventually tried /settingsFile: and this worked
Also out/ came up as unknown..
Why would the doco be wrong ?
If I run the clean up with a linkedbugs element I get the error TF51005 "query is using a field which does not exists <<state>>". I'm using the german templates where it has another name so I guess the cleaner is only working with the english templates 100%.
Is the schema file for the settingfile file available? And just as with the cleanup settings in Team Build, I'd like to be able to filter on build status, use the x latest builds option of a specific status and to exclude any test data associated to a Retain Indefinitely build.
Is this possible with the current tool?
When I try to delete attachements, I get the following error message:
"Error deleting attachments: 'Team Foundation services are not available from server XXX.
Technical information (for administrator): The operation has timed out'"