skip to navigation
skip to content

sloth-ci.ext.webhooks 1.0.2

Webhooks for Sloth CI

Send POST requests on build events in Sloth CI apps.

Executing actions of an app is called *build*. A build is considered *completed* if all its actions were completed. If some actions were completed and some failed, it's a *partially completed*; if all actions fail, the build *failed*.

This extension sends POST requests when your builds complete (fully or partially) or fail; just pick the desired notification level and the target URL.


.. code-block:: bash

$ pip install sloth-ci.ext.webhooks


.. code-block:: yaml
:caption: webhooks.yml

# Use the module sloth_ci.ext.webhooks.
module: webhooks

# Log level (number or valid Python logging level name).
# ERROR includes only build fails, WARNING adds partial completions,
# INFO adds completion, and DEBUG adds trigger notifications.
# Default is WARNING.
level: INFO

# URL to send the requests to.
File Type Py Version Uploaded on Size (md5) MS Windows installer any 2016-02-21 137KB (md5) Source 2016-02-21 4KB
sloth_ci.ext.webhooks-1.0.2-py3-none-any.whl (md5) Python Wheel 3.5 2016-02-21 4KB