DownloadBuildReport
Download report for the specific build.
Stored Procedures Specific Information
Process of Download Build Report
Azure DevOps allows only a small subset of columns to be used in the EXEC query. These columns can typically be used with only = comparison. The available columns for DownloadBuildReport are ProjectId, BuildId and FileLocation.
For example:
EXECUTE DownloadBuildReport ProjectId = '837ccd31-8159-4db3-b8ce-de0c36d2a0bf', BuildId = 3, FileLocation = 'C:azuredevops'
Input
Name | Type | Required | Accepts Output Streams | Description |
ProjectId | String | True | False | Id of the project. |
BuildId | Integer | True | False | Id of the build. |
FileLocation | String | False | False | Location of the file. |
Encoding | String | False | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
FileStream | String | False | True | An instance of an output stream where file data is written to. Only used if FileLocation is not provided. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure execution status. |
FileData | String | If the FileLocation and FileStream are not provided, this contains the content of the file. |