A Buildkite plugin for uploading and downloading 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" ]
or
steps:
- plugins:
artifacts#v1.2.0:
upload:
from: log1.log
to: log2.log
or
steps:
- plugins:
artifacts#v1.2.0:
upload:
- from: log1.log
to: log2.log
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" ]
or
steps:
- plugins:
artifacts#v1.2.0:
download:
from: log1.log
to: log2.log
or
steps:
- plugins:
artifacts#v1.2.0:
download:
- from: log1.log
to: log2.log
A glob pattern, or array of glob patterns, for files to upload.
A glob pattern, or array of glob patterns, for files to download.
The job UUID or name to download the artifact from.
The build UUID to download the artifact from.
If a file needs to be renamed or moved before upload or after download, a nested object is used with to
and from
keys.
At this time, this can only be used with single files and does not support glob patterns.
MIT (see LICENSE)