An example Buildkite plugin for detecting whether your code has any clowns in it.
It contains a command hook, and tests using plugin-tester.
steps:
- plugins:
- detect-clowns#v2.0.0: ~
To run testing, shellchecks and plugin linting use use bk run
with the Buildkite CLI.
bk run
Or if you want to run just the tests, you can use the docker Plugin Tester:
docker run --rm -ti -v "${PWD}":/plugin buildkite/plugin-tester:latest
MIT (see LICENSE)