An open API service indexing awesome lists of open source software.

https://github.com/buildpulse/buildpulse-circleci-orb

CircleCI Orb for connecting to BuildPulse for flaky test detection
https://github.com/buildpulse/buildpulse-circleci-orb

circleci-orbs flake-detection

Last synced: 6 months ago
JSON representation

CircleCI Orb for connecting to BuildPulse for flaky test detection

Awesome Lists containing this project

README

          

# BuildPulse CircleCI Orb [![CircleCI Orb Version](https://img.shields.io/badge/endpoint.svg?url=https://badges.circleci.io/orb/workshop64/buildpulse)](https://circleci.com/orbs/registry/orb/workshop64/buildpulse) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Workshop64/buildpulse-circleci-orb/master/LICENSE)

Easily connect your CircleCI jobs to [BuildPulse](https://buildpulse.io) to help you find and [fix flaky tests](https://buildpulse.io/products/flaky-tests).

## Usage

See [this orb's listing in CircleCI's Orbs Registry](https://circleci.com/orbs/registry/orb/workshop64/buildpulse) for details on usage, or see the example below.

## Example

In this example `config.yml` snippet, after your tests run, the `buildpulse/upload` command sends the test results to BuildPulse for analysis.

```yaml
version: 2.1

orbs:
buildpulse: workshop64/buildpulse@x.y

jobs:
build:
docker:
- image: circleci/

steps:
- checkout

- run: echo "Run your tests and generate XML reports for your test results"

- buildpulse/upload:
account-id: 123
repository-id: 123
path: ./spec/reports
access-key-id: BUILDPULSE_ACCESS_KEY_ID
secret-access-key: BUILDPULSE_SECRET_ACCESS_KEY
path: test/reports # path to JUnit XML file
account-id:
repository-id:
coverage-files: ./coverage/lcov/project.lcov # optional
tags: tag1 tag2 tag3 # optional

workflows:
version: 2
commit:
jobs:
- build
```