I've started using Buildkite and am wanting to create some plugins. I currently have one contained inside a git repository and structured according the the docs, e.g.:
.
├── plugin.yml
└── hooks
├── post-command
├── pre-command
and am calling it inside my pipeline:
plugins:
- ssh://git@github.com/my-account/buildkite-plugins.git#v1.0.0
everything is working as expected with this setup however I want to create more plugins and was wondering if it is possible to support these inside a single repo. I can't find anything in the docs regarding how to specify which hooks to run for which plugin (if I was to create multiple), since they're just name pre-command
and post-command
. Any help on this would be greatly appreciated