# alerta-plugin-template
Template repository to build from to achieve a standard build pipeline

## What it does and why

Create a standard build and release pipeline for alerta plugins that will be used by the video monitoring infrastructure so developing plugins for the new monitoring system can occur at a high velocity with minimal drift.


## What do I have to do?

1. Replace all instances of the string `alerta-plugin-template` in `jenkins.groovy` with your plugin's name (please prepend alerta for consistency's sake).
  * ex: alerta-foobar

2. Rename `alerta_plugin_template.py` and the class name and implement the logic for the three functions.

3. Update arguments in `setup.py`.
  * Pretty much every argument except `license`, `packages`, `include_package_data`, and `zip_safe` should be edited (and `install_requires` unless your package actually has other package requirements)

See example here: <insert example plugin here>.
