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) detailsemail— Email notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) detailsflowdock— Flowdock notification settings (type: sequence of map, sequence of secure, sequence of boolean, map, secure, or boolean) detailshipchat— Hipchat notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) detailsirc— IRC notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) detailspushover— Pushover notification settings (type: sequence of map, sequence of boolean, map, or boolean) detailsslack— Slack notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) detailswebhooks— Webhook notification settings (type: sequence of map, sequence of sequence of secure, sequence of secure, sequence of boolean, map, secure, or boolean) detailson_success— Notification frequency (type: enum (string), known values:always,never,change) detailson_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