Reputation: 1292
I have the following environment:
I have the following business requirement:
Objective is to monitor and control the amount of code warnings on daily basis.
According to this: https://learn.microsoft.com/en-us/vsts/report/sql-reports/table-reference-build-project compile errors are saved in a fact table called FactBuildProject
I am not sure about:
Are all my 80,000 warnings saved in the TFS warehouse database every day?
Upvotes: 0
Views: 577
Reputation: 30392
Generally the warnings will be saved with the builds.
For XAML Builds the number of compiler warnings used be stored in TFS Warehouse (BuildProjectView).
So, you can get the number of warnings from TFS Warehouse BuildProjectView.
UPDATE:
Cannot find the specific warning messages or IDs from the TFS Warehouse.
Just I mentioned above, the warnings will be saved with the builds. So, we can try checking the build logs with TFS API. Reference this thread : How to fetch Build Warning from TFS MS Build or TFS API
You can get the build list first, then get the logs in a loop.
Upvotes: 1