Notifications
Notification targets to notify on build results
This node uses the key email as a default prefix if not given a map.
Types
- Map
- Sequence of Map
- Sequence of Sequence of Secure
- Sequence of Secure
- Sequence of Boolean
- Secure
- Boolean
Keys
If given a map, the following keys are supported:
- campfire— Campfire notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- email— Email notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- flowdock— Flowdock notification settings (type: sequence of map, sequence of secure, sequence of boolean, map, secure, or boolean) details
- hipchat— Hipchat notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- irc— IRC notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- pushover— Pushover notification settings (type: sequence of map, sequence of boolean, map, or boolean) details
- slack— Slack notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- webhooks— Webhook notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) details
- on_success— Notification frequency (type: enum (string), known values:- always,- never,- change) details
- on_failure— Notification frequency (type: enum (string), known values:- always,- never,- change) details
Examples
notifications:
  campfire:
  - rooms:
    - secure: encrypted string
    template:
    - string
    if: branch = master
  - rooms:
      secure: encrypted string
  - template: string
  email:
  - recipients:
    - secure: encrypted string
    if: branch = master
    on_success: always
  - recipients:
      secure: encrypted string
  flowdock:
  - api_token:
      secure: encrypted string
    template:
    - string
    if: branch = master
  - template: string
notifications:
- recipients:
  - secure: encrypted string
  if: branch = master
  on_success: always
- recipients:
    secure: encrypted string
notifications:
- secure: encrypted string
notifications:
- true
notifications:
  recipients:
  - secure: encrypted string
  if: branch = master
  on_success: always
notifications:
  secure: encrypted string
notifications: true