Microsoft Teams with YAML

YAML parameters for Microsoft Teams

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to MICROSOFT_TEAMS.
title RequiredStringThe title of the notification.
content RequiredStringThe content of the notification.
recipients RequiredStringThe 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

yaml
actions: - 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