Rediger

Del via


DownloadFileshareArtifacts@1 - Download artifacts from file share v1 task

Use this task to download artifacts from a file share, like \\share\drop.

Syntax

# Download artifacts from file share v1
# Download artifacts from a file share, like \\share\drop.
- task: DownloadFileshareArtifacts@1
  inputs:
    filesharePath: # string. Required. File share path. 
    artifactName: # string. Required. Artifact name. 
    #itemPattern: '**' # string. Matching pattern. Default: **.
    downloadPath: '$(System.ArtifactsDirectory)' # string. Required. Download path. Default: $(System.ArtifactsDirectory).
  # Advanced
    #parallelizationLimit: '8' # string. Parallelization limit. Default: 8.
# Download Fileshare Artifacts v1
# Download artifacts from a file share e.g \\share\drop.
- task: DownloadFileshareArtifacts@1
  inputs:
    filesharePath: # string. Required. Fileshare path. 
    artifactName: # string. Required. Artifact name. 
    #itemPattern: '**' # string. Matching pattern. Default: **.
    downloadPath: '$(System.ArtifactsDirectory)' # string. Required. Download path. Default: $(System.ArtifactsDirectory).
  # Advanced
    #parallelizationLimit: '8' # string. Parallelization limit. Default: 8.

Inputs

filesharePath - File share path
string. Required.

Specifies the file share path (for example: \\server\folder).


filesharePath - Fileshare path
string. Required.

Specifies the file share path (for example: \\server\folder).


artifactName - Artifact name
string. Required.

Specifies the name of the artifact to download (for example: drop).


itemPattern - Matching pattern
string. Default value: **.

Specifies the files to be downloaded as a multi line minimatch pattern. Learn more about file matching patterns.

The default pattern (**) downloads all files within the artifact.


downloadPath - Download path
string. Required. Default value: $(System.ArtifactsDirectory).

Specifies the path on the agent machine where the artifacts are downloaded.


parallelizationLimit - Parallelization limit
string. Default value: 8.

Specifies the number of files to download simultaneously.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

Use this task to download file share artifacts.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 2.144.0 or greater
Task category Utility
Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Utility