JDBC Driver for Azure DevOps

Build 24.0.9062

DownloadTestAttachment

Download test result/run attachment.

Stored Procedures Specific Information

Process of Download Test Attachment

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 DownloadTestAttachment are ProjectId, RunId, ResultId, AttachmentId and FileLocation. For example:

	EXECUTE DownloadTestAttachment ProjectId = '1e313382-5f07-43be-b5ae-1dcfa51ffaf4', RunId = 10, AttachmentId = 2, FileLocation = 'C:\azuredevops'

Input

Name Type Required Accepts Output Streams Description
ProjectId String True False Id of the project.
ResultId Integer False False Id of the test result.
RunId Integer True False Id of the test run.
AttachmentId String True False Id of the attachment.
FileLocation String False False Location of the file.
Encoding String False False The FileData input encoding type.

使用できる値は次のとおりです。NONE, BASE64

デフォルト値は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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062