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

https://github.com/hasithaishere/buildkite-file-counter-buildkite-plugin

Buildkite Plugin For Testing 🧪
https://github.com/hasithaishere/buildkite-file-counter-buildkite-plugin

Last synced: over 1 year ago
JSON representation

Buildkite Plugin For Testing 🧪

Awesome Lists containing this project

README

          

# File Counter Buildkite Plugin

Annotates the build with a file count.

## Example

Add the following to your `pipeline.yml`:

```yml
steps:
- command: ls
plugins:
- hasithaishere/buildkite-file-counter#v1.0.0:
pattern: '*.md'
```

## Configuration

### `pattern` (Required, string)

The file name pattern, for example `*.ts`. Supports any pattern supported by [find -name](http://man7.org/linux/man-pages/man1/find.1.html).

## Developing

To run the tests:

```shell
docker-compose run --rm tests
```

## Contributing

1. Fork the repo
2. Make the changes
3. Run the tests
4. Commit and push your changes
5. Send a pull request