Skip to content

magnumci/addon-slack

Repository files navigation

Slack Addon

Send Magnum CI build notifications to a Slack channel

Build Status

Usage

Example:

require "magnum/addons/slack"

# Initialize addon
addon = Magnum::Addon::Slack.new(team: "team", token: "token")

# Send build payload
addon.run(build_payload)

Configuration

Available options:

  • team - Slack team name (https://TEAM.slack.com)
  • token - Slack access token
  • channel - Notifier channel. Default is #general

Testing

Execute test suite:

bundle exec rake test

License

The MIT License (MIT)

Copyright (c) 2013-2014 Dan Sosedoff, dan.sosedoff@gmail.com

About

Send build notifications to a Slack channel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages