Skip to content

ariarijp/horenso-reporter-slack

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published