Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 783 Bytes

webhook_notify.md

File metadata and controls

42 lines (31 loc) · 783 Bytes

Plugin Webhook Notify

This plugin sends a JSON web hook to a configured URL.

Configuration

Options

Field Required? Description
url Yes The URL to send the webhook to

Examples

Send a message if the build fails:

failure:
    webhook_notify_step:
        plugin: webhook_notify
        url: "http://example.com/webhook-handler"

Send a message if the build is successful:

success:
    webhook_notify_step:
        plugin: webhook_notify
        url: "http://example.com/webhook-handler"

Send a message every time the build runs:

complete:
    webhook_notify_step:
        plugin: webhook_notify
        url: "http://example.com/webhook-handler"