I have a Jenkins pipeline which performs different steps during deployment. While the deployment is being performed, I would like Jenkins to send notifications about the status of each step to a channel added on communication tool "Teams".
Can someone provide a suggestion on the best route to achieve this?
You should be able to use the Office 365 Connector for this.
stage('Upload') {
steps {
// some instructions here
office365ConnectorSend webhookUrl: 'https://outlook.office.com/webhook/123456...',
message: 'Application has been [deployed](https://uat.green.biz)',
status: 'Success'
}
}