Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
Your company has a project in Azure DevOps for a new web application.
You need to ensure that when code is checked in, a build runs automatically.
Solution: From the Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting.
Does this meet the goal?
Click on the arrows to vote for the correct answer
A. B.B
In Visual Designer you enable continuous integration (CI) by:
1. Select the Triggers tab.
2. Enable Continuous integration.
https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-designerNo, the provided solution does not meet the goal of automatically triggering a build when code is checked in.
Enabling the Pull request trigger setting will trigger a build automatically when a pull request is created or updated, not when code is checked in. Pull request triggers are typically used for integration and testing purposes to ensure that the changes being made in the pull request do not break the codebase.
To trigger a build automatically when code is checked in, you need to enable the Continuous Integration trigger setting in the build pipeline. This setting will trigger a build automatically whenever changes are pushed to the repository. The build pipeline can be configured to perform various tasks, such as compiling the code, running tests, and creating artifacts.
Therefore, the correct solution to meet the goal would be to enable the Continuous Integration trigger setting in the build pipeline.