Create a build definition
Select a template
If a template is relevant to your scenario, select it to automatically add some steps and apply typical settings. For example, if you create a new Visual Studio build, you automatically get steps to compile and test, along with other steps and settings you typically need to build a .NET app.
Start with an empty definition
If there's no template for your scenario, select Empty and then add the build steps you need.
Replicate a definition
If your definition has a pattern that you want to replicate in other definitions, clone it or create a template.
Clone a definition
After you clone a definition, the copy appears in your list of builds.
Create a template
After you create a template, your team members can use it to follow the pattern in new definitions.
Save a draft
To test some changes that are not yet ready for production, save a draft.
When you're ready you can publish and keep the changes or delete them.
Where can I learn step-by-step how to build my app?
How do I programatically create a build definition?
Do I need a build agent?
You need at least one agent run your build.
Hosted agent pool might be your easiest option if your code is built on Windows and your code is on Visual Studio Team Services.
Deploy Windows agents to build Windows, Azure, and other Visual Studio solutions. Windows agents can also build Java and Android apps.
Deploy Xplat agents to build Xcode, Android, Java, or other kinds of apps