You have a build pipeline in Azure Pipelines.
You create a Slack App Integration.
You need to send build notifications to a Slack channel named #Development.
What should you do first?
Click on the arrows to vote for the correct answer
A. B. C. D.D
Create a service hook for Azure DevOps with Slack to post messages to Slack in response to events in your Azure DevOps organization, such as completed builds, code changes, pull requests, releases, work items changes, and more.
Note:
1. Go to your project Service Hooks page:
Select Create Subscription.
2. Choose the types of events you want to appear in your Slack channel.
3. Paste the Web Hook URL from the Slack integration that you created and select Finish.
4. Now, when the event you configured occurs in your project, a notification appears in your team's Slack channel.
https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slackTo send build notifications to a Slack channel named #Development from a build pipeline in Azure Pipelines, the first step is to create a Slack App Integration.
Here are the detailed steps to achieve this:
Create a Slack App: The first step is to create a Slack App in your workspace. This can be done by navigating to the Slack API website, logging in to your Slack workspace, and creating a new app. Once the app is created, Slack will generate an App ID and an App Secret that you will use to configure the integration with Azure Pipelines.
Configure the Slack App: After creating the Slack App, you need to configure it to receive notifications from Azure Pipelines. To do this, you will need to add a new Incoming Webhook to the app. An Incoming Webhook is a URL that allows external systems to send messages to a Slack channel. To add an Incoming Webhook, navigate to the App Settings in the Slack API website, and click on "Incoming Webhooks". Follow the prompts to create a new webhook, and copy the generated Webhook URL.
Configure the Azure Pipelines Slack Integration: With the Slack App set up, the next step is to configure the integration with Azure Pipelines. To do this, navigate to the Project Settings in Azure Pipelines, and click on "Service connections". Click on "New Service Connection", and select "Slack" from the list of available services. Enter the App ID and App Secret for the Slack App that you created, and then paste the Webhook URL that you generated in Step 2.
Configure the Build Pipeline: Once the Slack integration is set up, the final step is to configure the build pipeline to send notifications to the #Development channel. To do this, add a new task to the build pipeline, and select "Slack Send Message" from the list of available tasks. Configure the task to send the desired message to the #Development channel, and save the pipeline.
With these steps completed, your build pipeline will now send notifications to the #Development channel in Slack whenever a new build is completed.