Skip to content

alianza-dev/artifacts-buildkite-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" ]

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

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" ]

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

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.

Relocation

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.

License

MIT (see LICENSE)

About

🆙 Automatically upload and download artifacts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%