Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Webhooks for Sloth CI

Project Description
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.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.webhooks


Usage
-----

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

extensions:
webhooks:
# 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.
url: http://example.com
Release History

Release History

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sloth_ci.ext.webhooks-1.0.2-py3-none-any.whl (4.5 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Feb 21, 2016
sloth-ci.ext.webhooks-1.0.2.win-amd64.exe (141.1 kB) Copy SHA256 Checksum SHA256 any Windows Installer Feb 21, 2016
sloth-ci.ext.webhooks-1.0.2.zip (5.0 kB) Copy SHA256 Checksum SHA256 Source Feb 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting