worker download

worker download [--workflow=<workflow-name>] [--number=<run-number>] [--tag=<tag>] [--pattern=<pattern>]

Synopsis

Inside a job, there are two ways to download an artifact:

Worker Command:

worker download --tag=<tag> <path>

Example:

worker download --pattern="files.*.yml"

Theses two commands have the same result:

worker download
worker download --workflow={{.cds.workflow}} --number={{.cds.run.number}}
worker download [flags]

Options

      --number string     Workflow Number to download from. Optional, default: current workflow run
      --pattern string    Pattern matching files to download. Optional, default: *
      --tag string        Tag matching files to download. Optional
      --workflow string   Workflow name to download from. Optional, default: current workflow

SEE ALSO