Skip to content

Turistforeningen/step-slack-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

step-slack Build status

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).

Options

  • url Slack webhook url
  • pipeline Pipeline name
  • username (optional) Message username override
  • icon_url (optional) Message icon override
  • notify_on (optional) If set to failed, it will only notify on failed builds or deploys.

Example

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.

License

The MIT License (MIT)

Changelog

2.0.0

  • Fail/Pass username
  • Fail/Pass icon

1.0.0

  • Initial release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages