Microsoft Teams with YAML

YAML parameters for Microsoft Teams

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to MICROSOFT_TEAMS.
title
Required
StringThe title of the notification.
content
Required
StringThe content of the notification.
recipients
Required
StringThe recipient of the notification: email address.
file_attachmentsString[]The attached files.
send_as_htmlBooleanDefines whether to send the content as HTML.

YAML example for Microsoft Teams

actions:
- action: "Send notification to MS Teams"
type: "MICROSOFT_TEAMS"
title: "$title"
content: "[#$BUDDY_EXECUTION_ID] $BUDDY_PIPELINE_NAME execution by [$BUDDY_INVOKER_NAME]($BUDDY_INVOKER_URL)"
send_as_html: true
recipients: "example@example.com"
file_attachments:
- "fs:///attachment"
trigger_condition: "ALWAYS"