Artifact Download

Artifact Download is a builtin action, you can’t modify it.

This action can be used to retrieve an artifact previously uploaded by an Artifact Upload.

Parameters

Requirements

No Requirement

YAML example

Example of a pipeline using Artifact Download action:

version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
  stage: Stage1
  steps:
  - artifactDownload:
      path: '{{.cds.workspace}}'
      pattern: '*.tag.gz'
      tag: '{{.cds.version}}'

Example

img

img

Worker Download Command

You can download an artifact with the built-in action - or use the worker command.

Example of a step script using worker download command

img