30
30

More than 5 years have passed since last update.

Jenkins から Slack へ通知する方法

Posted at

Slack 側

/services/new/jenkins-ci に行き, 新規 integration を追加.
Token をメモ.

Jenkins 側

/pluginManager/available に行き, Slack Plugin をインストール.
/configure に行き, Global Slack Notifier Setting で 以下のように設定.

設定項目 説明
Team Domain Slack のチームドメイン
Integration Token 取得した Token

他の項目はオプションなので空欄で良い.

job の設定に行き, Slack Notifications に以下を設定.

設定項目 説明 サンプル
Project Channel プロジェクトのチャンネル #hogehoge

Notify ~~ は適当にチェックを入れる.

最後にビルド後の処理に Slack Notifications を入れ, 保存.

Reference

30
30
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
30
30