---
name: "Artifacts"
description: "Builds, tests, and packages a Python library using Bazel."
author: "buildkite"
repo: "artifacts-example"
stars: 3
demo: "https://buildkite.com/buildkite/artifacts-example/builds/latest?branch=main"
---

# Buildkite Artifacts Pipeline Example


This repository is an example [Buildkite](https://buildkite.com/) pipeline that shows how to generate and download [build artifacts](https://buildkite.com/docs/guides/artifacts) across build steps (which could be running on different build machines for example).



See the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running.


<a href="https://buildkite.com/buildkite/artifacts-example/builds/latest?branch=main">
  <img width="1491" alt="Screenshot of Buildkite artifacts example pipeline" src="https://raw.githubusercontent.com/buildkite/artifacts-example/main/.buildkite/screenshot.png" />
</a>

<!-- docs:start -->
## How it works

There are two example steps:

* [generate_artifacts.sh](https://github.com/buildkite/artifacts-example/blob/HEAD/generate_artifacts.sh) – this creates a simple artifact
* [fetch_artifacts.sh](https://github.com/buildkite/artifacts-example/blob/HEAD/fetch_artifacts.sh) – this fetches and prints the artifact
<!-- docs:end -->

## License

See [LICENSE.md](https://github.com/buildkite/artifacts-example/blob/HEAD/LICENSE.md) (MIT)