how to integrate Jenkins with o365team for notifications1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Hi all, this document shows you how to integrate Jenkins with o365team for notifications

Step 1: log in to teams and create a channel.

Step 2: Click on the connectors and choose Jenkins

Step 3: Create a webhook URL for teams to accept requests from Jenkins.

Step 4: Note down the webhook URL.

Step 5: Install Office 365 Connector plugin in Jenkins from manage Jenkins console.

Step 6: Add the following command in post-build steps, only if you are using Jenkins pipeline.

office365ConnectorSend message: "Build status ", status:"Failed", webhookUrl:''

Step 7: Click save and apply.

Step 8: Now trigger your Jenkins job, now you will be able to see the notification published in teams channel.

NOTE: teams accept all the environment and parameterized variables.

© 2020, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply