Buildkite Plugins

Add plugins to command steps in your YAML pipeline to add functionality to Buildkite. Plugins can do things like execute steps in Docker containers, read values from a credential store, or add test summary annotations to builds.

Screenshot of a pipeline step with a plugin, and the plugin from the directory

What is a plugin?

Plugins are small self-contained pieces of extra functionality that help you customize Buildkite to your specific workflow. Plugins modify your build command steps at one or more of the ten job lifecycle hooks. Each hook changes a different part of how your jobs set up the environment, check out code, run commands, handle artifacts or clean up the environment.

Reference plugins in your pipeline configuration, and when the step containing the plugin runs, your agent will override the default behavior of with the hooks defined in the plugin hooks.

Plugins can be open source and available for anyone to use, or private and kept in private repositories that only your organization and agents can access. Plugins can be hosted and referenced using a number of sources.

Plugins can be also be vendored (if they are already present in the repository, and included using a relative path) or non-vendored (when they are included from elsewhere), which affects the order they are run in.

Some plugins allow configuration. This is usually defined in your pipeline.yml file and is read by the agent before the plugin hooks are run. See plugins' readme files for detailed configuration and usage instructions.

Finding plugins

In the Buildkite plugins directory you can find all the plugins maintained by Buildkite, as well as plugins from third-party developers.

Creating a plugin

See the Writing Plugins documentation for step-by-step instructions on how to create a plugin.