Search This Blog

Breaking

Wednesday, 26 May 2021

How to connect your Jenkin job to Microsoft Teams?

This was an idea where I was thinking to link our Jenkin Job to Microsoft teams, so that from the team's channel only, we could get the build status and other details.

So, If you are also planning for the same, you can follow the below steps.

Step 1: Create a channel in your team.





2. Inside that channel, click on connectors.

Note: If this channel is newly created, then the connectors option takes some time to get reflected.





3. Go to the Incoming webhook option there.



4. Click on Add Then again Add. Now it will come with an option as Configure.




5. Click on configure. Give your incoming webhook a name. And click on create.



6. Once you will click on create, It will create a URL.


7. copy the URL and click on done. Save URL at someplace for now.

8. Now go to Jenkins. Add office 365 plugin if not already installed.



9. After the plugin will be added there, you will see the office 365 tab in your jobs.











10. Click on it. You will see add webhook option there. Click on it.







11. Add the copied URL here. Give any random name.







12. Click on the advanced tab and select when do you want to get notified.











13. Click on save. 

14. Run your build. You will see notifications like this coming in your teams as per your selections.







No comments:

Post a Comment