@maxdome/notify
Send CD / CI notifications from GitLab CI
Last updated 2 years ago by fabsrc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @maxdome/notify 
SYNC missed versions from official npm registry.

notify

Send CD / CI notifications in GitLab CI

Install

$ npm install -g @maxdome/notify

Usage

Usage: notify [options] [command]


Options:

  -V, --version  output the version number
  -h, --help     output usage information


Commands:

  console             Print notification to console
  hipchat [options]   Send HipChat notification
  slack [options]     Send Slack notification

HipChat

Usage: notify hipchat [options]

Send HipChat notification


Options:

  --token <token>                 Hipchat Token
  --room <room>                   Room to send notification to
  --version-label [versionLabel]  Version which was deployed
  --changelog-url [changelogUrl]  URL to changelog
  --from [from]                   Notification sender name. Default: "GitLab CI"
  --color [color]                 Notification color [yellow|green|red|purple|gray|random]. Default: "purple"
  --format [format]               Notification format [text|html]. Default: "html"
  --silent                        Disable notification alert. Default: false
  --template [template]           Name of notification template. Default: "default"
  --print                         Print the template instead of sending it
  -h, --help                      output usage information

Slack

Usage: notify slack [options]

Send Slack notification


Options:

  --webhook-url <webhookUrl>      Slack Webhook URL for posting notifications
  --changelog-url [changelogUrl]  URL to changelog
  --version-label [versionLabel]  Version which was deployed
  --username [username]           Username to send notification from. Default: "GitLab CI"
  --color [color]                 Color of notification. Default: "#554488"
  --template [template]           Name of the notification template to use. Default: "default"
  --print                         Print the template instead of sending it
  -h, --help                      output usage information

TODO

More integrations coming soon:

  • Microsoft Teams
  • E-mail

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

10 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |