DownloadFileshareArtifacts@1 - 从文件共享 v1 任务下载项目

使用此任务从文件共享下载项目,例如 \\share\drop

语法

# 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.

输入

filesharePath - 文件共享路径
string。 必填。

指定文件共享路径(例如:\\server\folder)。


artifactName - 项目名称
string。 必填。

指定要下载的项目的名称(例如:drop)。


itemPattern - 匹配模式
string。 默认值:**

指定要下载为多行微型模式的文件。 详细了解 文件匹配模式

默认模式(**)下载项目中的所有文件。


downloadPath - 下载路径
string。 必填。 默认值:$(System.ArtifactsDirectory)

指定下载项目的代理计算机上的路径。


parallelizationLimit - 并行化限制
string。 默认值:8

指定要同时下载的文件数。


任务控制选项

除任务输入之外,所有任务都具有控制选项。 有关详细信息,请参阅 控件选项和常见任务属性

输出变量

没有。

注解

使用此任务下载文件共享项目。

要求

要求 说明
管道类型 YAML,经典版本,经典版本
运行时间 代理,DeploymentGroup
需求 没有
功能 此任务不满足作业中后续任务的任何要求。
命令限制 任何
Settable 变量 任何
代理版本 2.144.0 或更高版本
任务类别 效用
要求 说明
管道类型 YAML,经典版本,经典版本
运行时间 代理,DeploymentGroup
需求 没有
功能 此任务不满足作业中后续任务的任何要求。
命令限制 任何
Settable 变量 任何
代理版本 所有支持的代理版本。
任务类别 效用