Skip to content

devatherock/simple-slack

Repository files navigation

CircleCI Version Coverage Status Quality Gate Docker Pulls Lines of Code Docker Image Size

simple-slack

CI plugin to post messages to Slack or other chat clients with Slack compatible incoming webhooks like Rocket.Chat. For a listing of available options and usage samples, please take a look at the docs.

Usage

Execute from the working directory:

docker run --rm \
  -e SLACK_WEBHOOK=https://hooks.slack.com/services/... \
  -e PARAMETER_COLOR=#33ad7f \
  -e PARAMETER_TEXT="Success: {{.BuildLink}} ({{.BuildRef}}) by {{.BuildAuthor}}" \
  -e PARAMETER_CHANNEL="xyz" \
  -e PARAMETER_TITLE="Build completed" \
  -e BUILD_REF="refs/heads/master" \
  -e BUILD_AUTHOR=octocat \
  -e BUILD_LINK=http://github.com/octocat/hello-world \
  devatherock/simple-slack:0.4.0

About

CI plugin to post messages to slack

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors