Microsoft Teams with YAML
YAML parameters for Microsoft Teams
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to MICROSOFT_TEAMS . |
title Required | String | The title of the notification. |
content Required | String | The content of the notification. |
recipients Required | String | The recipient of the notification: email address. |
file_attachments | String[] | The attached files. |
send_as_html | Boolean | Defines whether to send the content as HTML. |
YAML example for Microsoft Teams
yamlactions: - action: "Send notification to MS Teams" type: "MICROSOFT_TEAMS" title: "$title" content: "[#$BUDDY_RUN_ID] $BUDDY_PIPELINE_NAME execution by [$BUDDY_INVOKER_NAME]($BUDDY_INVOKER_URL)" send_as_html: true recipients: "example@example.com" file_attachments: - "fs:///attachment"
Last modified on Oct 29, 2024