Specify your build steps

add build step button

Add steps to specify what you want to build, the tests to run, and all the other steps needed to complete the process.

Build


Build
Android Build
Build an Android app using Gradle and optionally start the emulator for unit tests
Android Signing
Sign and align Android APK files
Ant
Build with Apache Ant
CMake
Build with the CMake cross-platform build system
Gradle
Build using a Gradle wrapper script
Grunt
The JavaScript Task Runner
Gulp
Node.js streaming task based build system
Index Sources & Publish Symbols
Index your source code and publish symbols to a file share
Maven
Build with Apache Maven
MSBuild
Build with MSBuild
SonarQube for MSBuild - Begin Analysis
Fetch the Quality Profile from SonarQube to configure the analysis
SonarQube for MSBuild - End Analysis
Finish the analysis and upload the results to SonarQube
Visual Studio Build
Build with MSBuild and set the Visual Studio version property
Xamarin.Android
Build an Android app with Xamarin
Xamarin.iOS
Build an iOS app with Xamarin on Mac OS
Xcode Build
Build an Xcode workspace on Mac OS
Xcode Package iOS
Generate an .ipa file from Xcode build output

Utility

Batch Script
Run a windows cmd or bat script and optionally allow it to change the environment
Command Line
Run a command line with arguments
Copy and Publish Build Artifacts
Copy Build artifacts to staging folder then publish Build artifacts to the server or a file share
Copy Files
Copy files from source folder to target folder using minimatch patterns (The minimatch patterns will only match file paths, not folder paths)
cURL Upload Files
Use cURL to upload files with supported protocols. (FTP, FTPS, SFTP, HTTP, and more)
Delete Files
Delete files or folders.
PowerShell
Run a PowerShell script
Publish Build Artifacts
Publish Build artifacts to the server or a file share
Shell Script
Run a shell script using bash
Xamarin License
Activate or deactivate Xamarin licenses

Test

Cloud-based Load Test
Runs the load test in cloud, with Visual Studio Team Services
Cloud-based Web Performance Test
Runs the quick web performance test in cloud, with Visual Studio Team Services
Publish Test Results
Publish Test Results to Visual Studio Team Services/TFS
Visual Studio Test
Run tests with Visual Studio test runner
Visual Studio Test Agent Deployment
Deploy and configure Test Agent to run tests on a lab machine group
Visual Studio Test using Test Agent
Run tests distributedly using multiple test agents on a lab machine group
Xamarin Test Cloud
Test mobile apps with Xamarin Test Cloud using Xamarin.UITest

Package

CocoaPods
CocoaPods is the dependency manager for Swift and Objective-C Cocoa projects. Runs pod install
npm
Install npm packages
NuGet Installer
Installs and updates missing NuGet packages
NuGet Packager
Creates nupkg outputs from csproj or nuspec files
NuGet Publisher
Uploads nupkg files to a nuget server

Deploy

Azure Cloud Service Deployment
Deploy an Azure Cloud Service
Azure PowerShell
Run a PowerShell script within an Azure environment
Azure Web App Deployment
Publish a Visual Studio Web project to a Microsoft Azure Web App using Web Deploy
PowerShell on Target Machines
Execute PowerShell scripts on remote machine(s)
Windows Machine File Copy
Copy files to remote machine(s)

Q&A

Where can I learn step-by-step how to build my app?

Build your app

Can I add my own build steps?

Yes, you can develop your own build tasks. You can make them available as build steps to your team. You can also share them as extensions on Visual Studio Team Services (Team Services).

To learn more, see:

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

I can't select a default agent queue and I can't queue my build. How do I fix this?

See Scale out and administer your build system: Manage your queues

I use Team Foundation Server on-premises and I don't see some of these features. Why not?

Some of these features are available only on Visual Studio Team Services and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.

Where is the Visual Studio 2013 XAML build documentation?

Visual Studio 2013 XAML build documentation