A Buildkite plugin that parses bullet.log artifacts (generated across any number of parallel steps) and creates a report from the data.
The following pipeline will run rspec jobs in parallel, and then process all the resulting bullet log files to create a summary build annotation.
steps:
- command: rspec
parallelism: 50
artifact_paths: log/bullet.log
- wait: ~
continue_on_failure: true
- plugins:
- bullet-report#v1.9.0:
artifacts: log/bullet.log
The artifact glob path to find the bullet log files.
Example: log/bullet.log
To test the plugin hooks (in Bash) and the bullet log parser (in Ruby):
docker-compose run --rm plugin &&
docker-compose run --rm ruby
To test the Ruby parser locally:
cd ruby
rake
To test your plugin in your builds prior to opening a pull request, you can
refer to your fork and SHA from a branch in your pipeline.yml
.
steps:
- label: Annotate
plugins:
- YourGithubHandle/bullet-report#v1.2.3:
...
MIT (see LICENSE)