Thursday, November 19, 2020

Slack Azure DevOps Integration | How to Integrate Slack with Azure DevOps | Send push notifications from Azure pipelines to Slack

Slack is popular collaboration tool used at work by many companies. Slack can be integrated with CI tools such as Jenkins, Azure DevOps(VSTS). We will see how to integrate with Azure Build pipelines. 

Pre-requisites:
1. Azure pipelines setup
2. Slack channel setup
 
Azure DevOps & Slack integration steps
 
1. Go to slack.com and sign in to workspace.
2. Go to channel where you would like to receive push notification from Azure DevOps. Click on more and Add apps



3. Add Visual Studio Team Services App

4. Add Configuration

5.  And then select channel to post notification and add the channel

6. In Azure DevOps Dashboard, click on Project settings.
7. Click on Service Hooks tab and then click create subscriptions button to add a new service hook.
 


8. Select Slack from the list of services, and press the Next button.


9. On the Trigger screen, choose the event that you’d like to trigger the notification, and add any filters. Press the Next button to continue.


10. On the Action screen, add the URL as the Slack Webhook URL and press Finish when you are done.
 
 

Now whenever Azure pipelines runs any builds, it will send push notifications to the Slack channel. 

Please watch the above steps in YouTube channel:

5 comments:

  1. Likewise target support differs incredibly between tools. Be careful if a merchant says: "We support all compilers and all objectives out of the container". These are code words for: targonca szállítás Debrecen Europa-Road Kft.

    ReplyDelete
  2. Very well written.Keep up the good work.
    DevOps training in Pune

    ReplyDelete
  3. Thanks for sharing these steps. I tried connecting Slack with Azure pipelines last month, and your explanation of service hooks makes it much clearer. It’s interesting how simple DevOps Integration can boost team visibility when builds succeed or fail.

    ReplyDelete