🆙 Automatically upload and download artifacts
Clone or download
toolmantim Merge pull request #32 from buildkite-plugins/renovate/docker-buildki…
…te-plugin-tester-latest

chore(deps): update buildkite/plugin-tester:latest docker digest to ee0d1ad
Latest commit 04727e4 Dec 25, 2018

README.md

Artifacts Buildkite Plugin

A Buildkite plugin for uploading and downloading artifacts.

Uploading artifacts

This functionality duplicates the artifact_paths property in the pipeline yaml files.

steps:
  - plugins:
      - artifacts#v1.2.0:
          upload: "log/**/*.log"

or

steps:
  - plugins:
      - artifacts#v1.2.0:
          upload: [ "log/**/*.log", "debug/*.error" ]

Downloading artifacts

This downloads artifacts matching globs to the local filesystem. See downloading artifacts for more details.

steps:
  - plugins:
      - artifacts#v1.2.0:
          download: "log/**/*.log"

or

steps:
  - plugins:
      - artifacts#v1.2.0:
          download: [ "log/**/*.log", "debug/*.error" ]

Configuration

upload

A glob pattern, or array of glob patterns, for files to upload.

download

A glob pattern, or array of glob patterns, for files to download.

step (optional)

The job UUID or name to download the artifact from.

build (optional)

The build UUID to download the artifact from.

License

MIT (see LICENSE)