Skip to content

A Wercker step to send a notification to a generic Fleep webhook.

Notifications You must be signed in to change notification settings

ocean/wercker-step-fleep-webhook-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Wercker step to send a notification to a generic Fleep webhook.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages