pauldthomson / checkstyle-annotate-buildkite-plugin

πŸ“ˆ Summarise your style/lint failures as a build annotation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkstyle Annotate Buildkite Plugin

A Buildkite plugin that parses Checkstyle XML artifacts (generated across any number of parallel steps) and creates a build annotation listing the individual tests that errored.

Example

The following pipeline will run test.sh jobs in parallel, and then process all the resulting Checkstyle XML files to create a summary build annotation.

steps:
  - command: test.sh
    parallelism: 50
    artifact_paths: tmp/checkstyle-*.xml
  - wait: ~
    continue_on_failure: true
  - plugins:
      - checkstyle-annotate:
          artifacts: tmp/checkstyle-*.xml

Configuration

artifacts (required)

The artifact glob path to find the Checkstyle XML files.

Example: tmp/checkstyle-*.xml

Developing

To test the Ruby parser locally:

cd ruby
rake

License

MIT (see LICENSE)

About

πŸ“ˆ Summarise your style/lint failures as a build annotation

License:MIT License


Languages

Language:Ruby 90.0%Language:Shell 10.0%