Built-in git checkout may cover this use case
Buildkite now supports checkout customization directly in pipeline YAML, including skip checkout, shallow clones, sparse checkout, custom Git flags, SSH checkout secrets, and commit verification. For most checkout use cases, try the built-in configuration before adding this plugin. View git checkout configuration .
Skip Checkout Buildkite Plugin
A Buildkite plugin to skip Buildkite’s default checkout step for jobs that don’t need a code checkout until repository-less builds land in the Buildkite agent.
Optionally sets the checkout directory to a specified path.
Example
steps:
- plugins:
- thedyrt/skip-checkout#v0.1.1: ~
steps:
- plugins:
- thedyrt/skip-checkout#v0.1.1:
cd: /mnt/data
Tests
To run the tests of this plugin, run
docker-compose run --rm tests
License
MIT (see LICENSE)