Aviator Test Reporter Buildkite Plugin
A Buildkite plugin for uploading JUnit files to Aviator 🛩️
These are all the options available to configure this plugin's behaviour.
Pattern of files to upload, relative to the checkout path (./
will be added to it). May contain *
to match any number of characters of any type (unlike shell expansions, it will match /
and .
if necessary).
Name of the environment variable that contains the Aviator API token. Defaults to: AVIATOR_API_TOKEN
Full URL for the API to upload to. Defaults to https://upload.aviator.co/api/test-report-uploader
To upload all files from an XML folder from a build step:
steps:
- label: "🔨 Test"
command: "make test"
plugins:
- aviator#v1.0.0:
files: "test/junit-*.xml"
You can also use build artifacts generated in a previous step:
steps:
# Run tests and upload
- label: "🔨 Test"
command: "make test --junit=tests-N.xml"
artifact_paths: "tests-*.xml"
- wait
- label: ":plane: Aviator"
command: buildkite-agent artifact download tests-*.xml
plugins:
- aviator#v1.0.0:
files: "tests-*.xml"
You can use the bk cli to run the pipeline locally:
bk local run
Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite-plugins/aviator-buildkite-plugin
The package is available as open source under the terms of the MIT License.