Buildkite Collector for JUnit (Alpha)
A Buildkite Test Analytics collector for JUnit files that uses bash
and curl
✨
📦 Supported CI systems: Buildkite, GitHub Actions, CircleCI, and others via the BUILDKITE_ANALYTICS_*
environment variables.
👉 Usage
Using curl from within your build scripts:
cat junit.xml | \
BUILDKITE_ANALYTICS_TOKEN=xyz \
bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/test-collector-junit/v0.0.1/test-collector`"
⚒ Developing
After cloning the repository, install the BATS testing dependencies:
git submodule init
And run the tests:
./test/bats/bin/bats test/
Useful resources for developing collectors include the Buildkite Test Analytics docs and the RSpec and Minitest collectors.
👩💻 Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/test-collector-junit
📜 License
The package is available as open source under the terms of the MIT License.