Accessing and removing old Specflow+ reports on Azure DevOps Server
Hi,
a customer of ours is running the on premise version of Azure DevOps. We are using SpecFlow+ LivingDoc in a CD pipeline and everything works fine.
However, the customer wants to be sure that
a) reports are not stored in "the cloud" and
b) if the reports are stored locally, there is a way to delete old reports so that the file system of the Azure DevOps Server does not get taxed too much.
After a quick research, I could find a URL to download a report from what appears to be a local document database: .../_apis/ExtensionManagement/InstalledExtensions/techtalk/techtalk-specflow-plus/Data/Scopes/Default/Current/Collections/Data/Documents/{guid}
How do I access and delete previously generated reports?
-
The reports are saved as attachments to the test run. So they should be some kind of build artifact in Azure DevOps. We give the generated report file to the VSTest API. VSTest then publishes it to Azure DevOps
But it looks like, you can't delete these. There is at least no API for it: https://docs.microsoft.com/en-us/rest/api/azure/devops/test/attachments?view=azure-devops-rest-6.1
0
Please sign in to leave a comment.
Comments
1 comment