Configuring and triggering the automated build
For most of the applications, it might not make sense to perform manual builds in the VSTS. 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 the VSTS for your team project and also trigger the automated build by making a change to the code of the HTTPTrigger Azure function that we have created in Chapter 4, Understanding the Integrated Developer Experience of Visual Studio Tools for Azure Functions.
How to do it...
- Navigate to the build definition
build-def-stg
that we have created and click on theTriggers
menu, shown as follows:

- Now, click on the
Enable this Trigger
button to enable the automated build trigger. You can also configure the items that you would like to exclude in this step:

- Save the changes by clicking on the arrow mark available beside the
Save ...