DownloadPackage@0 - Download package v0 task
Use this task to download a package from a package management feed in Azure Artifacts.
This task is deprecated; use DownloadPackage@1.
Use this task to download a package from a package management feed in Azure Artifacts.
Use this task to download a package from a package management feed in Azure Artifacts or TFS. Requires the Package Management extension.
Syntax
# Download package v0
# Download a package from a package management feed in Azure Artifacts.
- task: DownloadPackage@0
inputs:
feed: # string. Required. Feed.
definition: # string. Required. Package.
version: # string. Required. Version.
downloadPath: '$(System.ArtifactsDirectory)' # string. Required. Destination directory. Default: $(System.ArtifactsDirectory).
# Download Package v0
# Download a package from a Package Management feed in Azure Artifacts or TFS.
Requires the Package Management extension.
- task: DownloadPackage@0
inputs:
feed: # string. Required. Feed.
definition: # string. Required. Package.
version: # string. Required. Version.
downloadPath: '$(System.ArtifactsDirectory)' # string. Required. Destination directory. Default: $(System.ArtifactsDirectory).
Inputs
feed
- Feed
string
. Required.
Specifies the package source.
definition
- Package
string
. Required.
Specifies the package to download. Only NuGet packages are currently supported.
version
- Version
string
. Required.
Specifies the version of the package.
downloadPath
- Destination directory
string
. Required. Default value: $(System.ArtifactsDirectory)
.
Specifies the path on the agent machine where the package is downloaded.
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
There is a newer version of this task available at DownloadPackage@1.
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 | 1.99.0 or greater |
Task category | Utility |
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir