Microsoft Teams
Ms Teams Integration
You can receive notifications on Microsoft Teams channels when sfdx-hardis events are happening:
- Deployment from a major branch to a major Salesforce org (ex: integration git branch to Integration Org)
- Salesforce Org Monitoring
- Latest updates
- Failing apex tests
- Monitoring checks notifications
Create Incoming Web Hook
Follow Microsoft Tutorial to create an incoming Web Hook for any Teams Channel
Configure secret variable
- Create a secret value named MS_TEAMS_WEBHOOK_URL with Web Hook url in your Git provider configuration
Example: MS_TEAMS_WEBHOOK_URL=https://mycompany.webhook.office.com/webhookb2/f49c28c6-d10b-412c-b961-fge456bd@c1a7fa9b-90b3-49ab-b5e2-345HG88c/IncomingWebhook/b43c20SDSGFG56712d848bc1cebb17/53ee2e22-a867-4e74-868a-F3fs3935
- Additionally, you can create branch-scoped channels by creating new channels and create appropriate variables
- Example: Channel #notifs-sfdx-hardis-integration and variable MS_TEAMS_WEBHOOK_URL_INTEGRATION
- You a also define an additional channel to receive only warning, error and critical notifications in another channel
- Example: Channel #notifs-monitor-hot and variable MS_TEAMS_WEBHOOK_URL_ERRORS_WARNINGS
- Make sure all those variables are visible in your CI/CD pipelines
That's all, you're all set !