This node uses the key recipients
as a default prefix if not given a map.
See also
Types
Keys
If given a map, the following keys are supported:
recipients
— Email addresses to notify (type: sequence of secure, or secure)if
— Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent (type: string, e.g.:branch = master
) detailson_success
— Notification frequency (type: enum (string), known values:always
,never
,change
) detailson_failure
— Notification frequency (type: enum (string), known values:always
,never
,change
) detailsenabled
— Whether to enable these notifications (type: boolean)disabled
— Whether to disable these notifications (type: boolean)
Examples
recipients:
- secure: encrypted string
if: branch = master
on_success: always
- secure: encrypted string
secure: encrypted string
true