Building a CI/CD pipeline
With our VSTS project set up and ready to go, we can finally start building our CI/CD pipeline, starting with a VSTS build.
Setting up a VSTS build
From the preceding project dashboard page, on the right-hand side, there is a Set up Build
link next to the Build and Release
heading. Clicking on this link will take you to a page that looks like this:

If you're using VSTS for source control, then selecting your code repository is as simple as specifying the team project, repository, and default branch you wish to build from. In this case, a default PhoneShop
repository and master
branch was created for me when I set up the team project earlier. However, in my case, I need to select the Bitbucket Cloud
option, followed by the Authorize using OAuth
button to connect to my Bitbucket account. At this point, you'll need to select your own source control provider, then follow the instructions to allow VSTS to connect to it so that it can access your source code.
Note
Make sure...