horenso-reporter-slack

module
v0.0.0-...-39a621f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2017 License: MIT

README

horenso-reporter-slack

Build Status

image

This plugin only support horenso versions v0.0.1 and higher.

Usage

$ go get github.com/ariarijp/horenso-reporter-slack/cmd/horenso-reporter-slack
$ HRS_SLACK_TOKEN="YOUR_SLACK_TOKEN" HRS_SLACK_CHANNEL="general" horenso -r ./horenso-reporter-slack -- [command]
$ HRS_SLACK_TOKEN="YOUR_SLACK_TOKEN" HRS_SLACK_GROUP="private_group" horenso -r ./horenso-reporter-slack -- [command]
Environment Variables
  • HRS_SLACK_TOKEN(required)
    • Slack API Token
  • HRS_SLACK_CHANNEL(required when HRS_SLACK_GROUP is not provided)
    • Slack channel name
  • HRS_SLACK_GROUP(required when HRS_SLACK_CHANNEL is not provided)
    • Slack private group name
  • HRS_SLACK_MENTION(optional, default: channel)
    • Slack mention(channel or here is supported)
  • HRS_SLACK_ITEMS(optional defauls: all):
    • Select reporting items by Comma-Separated Values
    • example: Stdout,Stderr,ExitCode
    • supported items
      • Command
      • CommandArgs
      • Output
      • Stdout
      • Stderr
      • ExitCode
      • Result
      • Pid
      • StartAt
      • EndAt
      • Hostname
      • SystemTime
      • UserTime

License

MIT

Author

Takuya Arita

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL