Access artifact in release pipeline without downloading onto agent

Viewed 330

The only thing I do in release pipeline is copying the build artifacts onto another server so I'd like to copy the artifact directly without downloading it onto the Release agent first.

At logs from download artifacts step i see:

2020-09-28T12:41:34.9678728Z Preparing to download artifact: Install
2020-09-28T12:41:34.9863144Z Artifact Type: FileShare
2020-09-28T12:41:34.9972486Z Downloading artifact from file share: \\myshare\...\Install

But I don't see that file share path in any of the variables in Initialize Job step.

Is there any way to enable "Skip download of artifacts" and be able to access that path in pipeline?

1 Answers
  1. Enable "Skip download of artifacts":

You can find “Skip download of artifacts” option in your agent job. enter image description here 2. Access file share path in pipeline:

You can find the file share path from the download artifacts step but not from the Initialize Job step. You can find this path when you add the source folder in Copy files task. enter image description here

You can also find this path on the artifacts page of the build pipeline result. enter image description here

Related