Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.72 KB

File metadata and controls

51 lines (30 loc) · 1.72 KB

fleep-webhook-notify

Send a message to a Fleep conversation by sending an HTTP request to a specified Fleep generic webhook.

Fleep setup

Set up a generic webhook for your conversation using the instructions at https://fleep.io/blog/integrations/webhooks/

Options

required

Parameters pulled from the Wercker pipeline:

  • result - result of step: passed✅ or failed ❌ .
  • type - type of step: build or deploy.
  • application_name - the Wercker application (system) name.
  • build_url - URL of the build output on Wercker.
  • started_by - the name of the Wercker user who started the build.

From these parameters a Fleep message is built which is formatted like so:

Wercker

result: started_by ran a type step for application_name which result.

build_url

In Fleep, that looks a little bit like this:

Example

Add FLEEP_WEBHOOK_URL as deploy target or application environment variable.

build:
   after-steps:
      - ocean/fleep-webhook-notify:
          url: $FLEEP_WEBHOOK_URL

Credits

Thanks to mzp whose http-notify step I forked. 👍

Drew Robinson, @ocean 🌊.

Follow ocean on Twitter