Understanding the CI pipeline
CI is a practice in which you automate the building and testing of your code. In Azure DevOps, you can create pipelines and configure them to trigger automatically when code is merged to your target (master/main) branch, run on a schedule, or both. You may choose to create a pipeline using YAML files or a UI-based classic editor.
The following figure illustrates the typical flow of code from a developer's machine to the cloud:
From the preceding screenshot, we see the following:
- The developer uses development tools such as Visual Studio, Visual Studio Code, or Visual Studio for Mac to develop code.
- Code changes are moved to the repository.
- The CI pipeline is triggered, validates the build, runs tests, and publishes artifacts. The CD pipeline is triggered, and it deploys code to target systems.
- The developer uses Application Insights to continuously monitor and...