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 🧪
- Host: GitHub
- URL: https://github.com/hasithaishere/buildkite-file-counter-buildkite-plugin
- Owner: hasithaishere
- Created: 2023-01-26T07:57:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T04:06:12.000Z (over 3 years ago)
- Last Synced: 2025-01-07T12:47:39.441Z (over 1 year ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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