使用此任务从文件共享下载项目,例如 \\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
)。
downloadPath
-
下载路径
string
。 必填。 默认值:$(System.ArtifactsDirectory)
。
指定下载项目的代理计算机上的路径。
parallelizationLimit
-
并行化限制
string
。 默认值:8
。
指定要同时下载的文件数。
任务控制选项
除任务输入之外,所有任务都具有控制选项。 有关详细信息,请参阅 控件选项和常见任务属性。
输出变量
没有。
注解
使用此任务下载文件共享项目。