Reputation: 468
A scan task of release pipeline in Azure DevOps generates the report and saves it to the local file system of agent. Is there any approach using which we can obtain the result report from the agent machine and access it directly from log attachments?
Upvotes: 0
Views: 908
Reputation: 1864
Yes, artifacts are not supported in a release pipeline as of now.
As per this thread regarding publishing/downloading artifacts in release pipelines, this feature has been proposed on the Developer Community.
For a workaround, if you wish, you can try third-party extension from the marketplace.
You can use AddAttachment task command.
Usage
Upload and attach attachment to current timeline record. These files are not available for download with logs. These can only be referred to by extensions using the type or name values.
Properties
type = attachment type (Required) name = attachment name (Required)
Example
##vso[task.addattachment type=myattachmenttype;name=myattachmentname;]c:\myattachment.txt
Upvotes: 1
Reputation: 468
Based on my understanding, artifacts are not supported in a release pipeline as of now. Few options that will come handy are:
Upvotes: 0