AZ-400 · Question #279
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?
The correct answer is D. Creates a service hook subscription.. 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. 1. Go to your project Service Hooks page: https://{o
Question
Options
- ACreate a project-level notification.
- BConfigure a service connection.
- CCreate a global notification.
- DCreates a service hook subscription.
How the community answered
(65 responses)- A9% (6)
- B2% (1)
- C6% (4)
- D83% (54)
Explanation
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. 1. Go to your project Service Hooks page: https://{orgName}/{project_name}/_settings/serviceHooks Select Create Subscription. 3. Choose the types of events you want to appear in your Slack channel. 4. Paste the Web Hook URL from the Slack integration that you created and select Finish. 5. 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/slack
Topics
Community Discussion
No community discussion yet for this question.