Define your process
Team Services | TFS 2015 | Previous versions (XAML builds)
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.
Queue a build
You can queue builds automatically or manually.
When you manually queue a build, you can, for a single run of the build:
Specify the queue into which the build goes.
Add and modify some variables.
In a Git repository
In a TFVC repository
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 to run your build. Get an agent.
I can't select a default agent queue and I can't queue my build. How do I fix this?
See Administer queues.