Code Monkey home page Code Monkey logo

aviator-buildkite-plugin's Introduction

Aviator Test Reporter Buildkite Plugin Build status

A Buildkite plugin for uploading JUnit files to Aviator πŸ›©οΈ

Options

These are all the options available to configure this plugin's behaviour.

Required

files (string)

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).

Optional

api-key-env-nameΒ (string)

Name of the environment variable that contains the Aviator API token. Defaults to: AVIATOR_API_TOKEN

api-url (string)

Full URL for the API to upload to. Defaults to https://upload.aviator.co/api/test-report-uploader

Examples

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"

Using build artifacts

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"

βš’ Developing

You can use the bk cli to run the pipeline locally:

bk local run

πŸ‘©β€πŸ’» Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite-plugins/aviator-buildkite-plugin

πŸ“œ License

The package is available as open source under the terms of the MIT License.

aviator-buildkite-plugin's People

Contributors

pzeballos avatar renovate[bot] avatar tomowatt avatar toote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.