YAML examples for Microsoft Teams
Microsoft Teams notification with attachments
yaml- action: MS Teams notification type: MICROSOFT_TEAMS trigger_time: ON_EVERY_EXECUTION disabled: false title: Build Notification content: |- Run **$BUDDY_RUN_ID** has completed. Branch: $BUDDY_RUN_BRANCH Details: $BUDDY_RUN_URL recipients: https://outlook.office.com/webhook/abc123/IncomingWebhook/xyz789 send_as_html: true file_attachments: - /reports/summary.html - /logs/build.log ignore_errors: false retry_interval: 30 retry_count: 2 timeout: 60
Simple Microsoft Teams notification
yaml- action: Teams notify type: MICROSOFT_TEAMS title: "Deployment Notification" trigger_time: ON_EVERY_EXECUTION recipients: https://outlook.office.com/webhook/123 content: Build completed