Email notification with YAML
Learn more about:
YAML parameters for Email notification
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to EMAIL . |
recipients Required | String | The recipients of the notification: email addresses (one per line). |
content Required | String | The content of the notification. |
title Required | String | The title of the notification. |
send_as_html | Boolean | Defines whether to send the content as HTML. |
file_attachments | String[] | The attached files. |
from_name | String | The e-mail sender name. |
YAML example for Email notification
actions:- action: "EMAIL Action"type: "EMAIL"title: "$title"from_name: "Buddy"content: "<b>${BUDDY_PIPELINE_NAME}</b> execution #${BUDDY_EXECUTION_ID}"recipients: "mike@buddy.works\nalex@buddy.works"send_as_html: truevariables:- key: "title"value: "Pipeline executed successfully!"file_attachments:- "fs:///file1"- "fs:///file2"