Reputation: 1235
We are using TFS 2015 Update 1.
We can delete a build or it will roll off (based on retention policy), however, nothing from the build gets deleted.
Is there anything that needs to be specially configured to enable this, is this a known issue?
This stackoverflow mentions it here, but mostly talks about drop locations: Should artifacts associated with a build record be deleted when the build record is deleted?
Microsoft's documentation says that The build record, Logs, Published artifacts, Automated test results, Published artifacts, and Published symbols. However, unsure if this is a VSTS thing as we are using TFS 2015 on premise: https://msdn.microsoft.com/en-us/library/vs/alm/build/define/retention
Upvotes: 3
Views: 810
Reputation: 31003
I'm afraid there is a misunderstanding. I assume what you are seeing is the resources in your build workspace, not the build details. If you delete the resources in the build workspace, all build details still can be seen on web access.
Actually, when you delete a build manually, everything about build will be deleted, check the screenshot below:
If you specify build retention policies, Retention policies will delete the items below:
You can set Policy options for Delete build record
, Delete source label
, Delete test results
, but you can't turn off deletion of artifacts or logs (note that, for artifacts, only server drops are deleted when a build is deleted but drops to UNC shares are not):
Upvotes: 4