https://github.com/screwdriver-cd/coverage-bookend
sd.cd bookend for uploading code coverage reports and/or test results
https://github.com/screwdriver-cd/coverage-bookend
Last synced: 11 months ago
JSON representation
sd.cd bookend for uploading code coverage reports and/or test results
- Host: GitHub
- URL: https://github.com/screwdriver-cd/coverage-bookend
- Owner: screwdriver-cd
- License: other
- Created: 2018-05-02T17:50:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T23:06:37.000Z (over 3 years ago)
- Last Synced: 2024-04-29T07:44:55.662Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://cd.screwdriver.cd/pipelines/707
- Size: 37.1 KB
- Stars: 0
- Watchers: 17
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Coverage Bookend
[![Version][npm-image]][npm-url] ![Downloads][downloads-image] [![Build Status][status-image]][status-url] [![Open Issues][issues-image]][issues-url] ![License][license-image]
> Screwdriver bookend for uploading code coverage reports and/or test results
## Usage
```bash
npm install screwdriver-coverage-bookend
```
## Constructor
This bookend will try to register a Screwdriver coverage npm module based on your configuration provided.
### Example
```yaml
coverage:
plugin: sonar
sonar:
foo: bar
```
In this example, this bookend will register the `screwdriver-coverage-sonar` npm module with the config `foo: bar`.
## Setup
This bookend does nothing during setup.
## Teardown
This bookend will call `getUploadCoverageCmd` from the `screwdriver-coverage-sonar` npm module during teardown. The plugin should follow the [coverage-base](https://github.com/screwdriver-cd/coverage-base) interface.
## Testing
```bash
npm test
```
## License
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.
[npm-image]: https://img.shields.io/npm/v/screwdriver-coverage-bookend.svg
[npm-url]: https://npmjs.org/package/screwdriver-coverage-bookend
[downloads-image]: https://img.shields.io/npm/dt/screwdriver-coverage-bookend.svg
[license-image]: https://img.shields.io/npm/l/screwdriver-coverage-bookend.svg
[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/coverage-bookend.svg
[issues-url]: https://github.com/screwdriver-cd/coverage-bookend/issues
[status-image]: https://cd.screwdriver.cd/pipelines/707/badge
[status-url]: https://cd.screwdriver.cd/pipelines/707