A slack notifier written in bash
and curl
. Make sure you create a Slack
webhook first (see the Slack integrations page to set one up).
url
Slack webhook urlpipeline
Pipeline nameusername
(optional) Message username overrideicon_url
(optional) Message icon overridenotify_on
(optional) If set tofailed
, it will only notify on failed builds or deploys.
build:
after-steps:
- turistforeningen/slack-pipeline-notifier:
url: $SLACK_WEBHOOK_URL
The url
parameter is the slack
webhook that wercker should post to.
You can create an incoming webhook on your slack integration page. This url
is then exposed as an environment variable (in this case $SLACK_WEBHOOK_URL
)
that you create through the wercker web interface as deploy pipeline variable.
The MIT License (MIT)
- Fail/Pass username
- Fail/Pass icon
- Initial release