Continuous integration—configuring and triggering an automated build
For most applications, it might not make sense to perform manual builds in Azure DevOps. It would make sense if we can configure continuous integration by automating the process of triggering the build for each check-in/commit done by the developers.
In this recipe, you will learn how to configure continuous integration in Azure DevOps for the team project and also trigger an automated build by making a change to the code of the HTTP trigger Azure function that we created in Chapter 4, Developing Azure functions using Visual Studio.
How to do it…
Perform the following steps:
- Navigate to the AzureFunctions-CI build definition by clicking on the Edit button, as shown in Figure 12.17:
Figure 12.17: Azure DevOps—build pipelines—editing a pipeline
- Once inside the build definition, click on the Triggers menu, as shown in Figure 12.18:
Figure 12.18: Azure DevOps—...