Specify your build steps

Last Update: 1/24/2017

Team Services | TFS 2017 | TFS 2015 | Previous versions (XAML builds)

Definition edit panel header
Build      Options      Repository      Variables      Triggers      General      Retention      History

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

Task Versions
icon Android Build - deprecated
Use Gradle
Team Services, TFS 2015 RTM and newer
icon Android Signing
Sign and align Android APK files
Team Services, TFS 2015 RTM and newer
icon Ant
Build with Apache Ant
Team Services, TFS 2015 RTM and newer
icon CMake
Build with the CMake cross-platform build system
Team Services, TFS 2015 RTM and newer
icon Gradle
Build using a Gradle wrapper script
Team Services, TFS 2015 RTM and newer
icon Grunt
The JavaScript Task Runner
Team Services, TFS 2015 Update 3 and newer
icon Gulp
Node.js streaming task based build system
Team Services, TFS 2015 RTM and newer
icon Index Sources & Publish Symbols
Index your source code and publish symbols to a file share
Team Services, TFS 2015 RTM and newer
icon Jenkins Queue Job
Queue a job on a Jenkins server
Team Services, TFS 2015 RTM and newer
icon Maven
Build with Apache Maven
Team Services, TFS 2015 RTM and newer
icon MSBuild
Build with MSBuild
Team Services, TFS 2015 RTM and newer
icon Publish Build Artifacts
Publish Build artifacts to the server or a file share
TFS 2015 RTM (Under Utility in newer versions.)
icon SonarQube for MSBuild - Begin Analysis
Fetch the Quality Profile from SonarQube to configure the analysis
Team Services, TFS 2015 Update 3 and newer
icon SonarQube for MSBuild - End Analysis
Finish the analysis and upload the results to SonarQube
Team Services, TFS 2015 Update 3 and newer
icon Visual Studio Build
Build with MSBuild and set the Visual Studio version property
Team Services, TFS 2015 RTM and newer
icon Xamarin.Android
Build an Android app with Xamarin
Team Services, TFS 2015 RTM and newer
icon Xamarin.iOS
Build an iOS app with Xamarin on Mac OS
Team Services, TFS 2015 RTM and newer
icon Xcode Build
Build an Xcode workspace on Mac OS
Team Services, TFS 2015 RTM and newer
icon Xcode Package iOS
Generate an .ipa file from Xcode build output
Team Services, TFS 2015 RTM and newer

Utility

Task Versions
icon Archive Files
Archive files using a variety of compression formats such as .7z, .rar, .tar.gz, and .zip.
Team Services, TFS 2017
icon Batch Script
Run a windows cmd or bat script and optionally allow it to change the environment
Team Services, TFS 2015 RTM and newer
icon Command Line
Run a command line with arguments
Team Services, TFS 2015 RTM and newer
icon Copy and Publish Build Artifacts
Copy Build artifacts to staging folder then publish Build artifacts to the server or a file share
Team Services, TFS 2015 Update 3 and newer
icon Copy Files
Copy files from source folder to target folder using minimatch patterns (The minimatch patterns will only match file paths, not folder paths)
Team Services, TFS 2015 Update 3 and newer
icon cURL Upload Files
Use cURL to upload files with supported protocols. (FTP, FTPS, SFTP, HTTP, and more)
Team Services, TFS 2015 RTM and newer
icon Delete Files
Delete files or folders.
Team Services, TFS 2015 Update 3 and newer
icon Extract Files
Extract files from archives (.zip, .jar, .war, .ear, .tar, .7z., and others) to a target folder.
Team Services, TFS 2017
icon FTP Upload
Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS.
Team Services, TFS 2017
icon PowerShell
Run a PowerShell script
Team Services, TFS 2015 RTM and newer
icon Publish Build Artifacts
Publish Build artifacts to the server or a file share
Team Services, TFS Update 3 and newer (Under Build in TFS 2015 RTM.)
icon Shell Script
Run a shell script using bash
Team Services, TFS 2015 RTM and newer
icon Update Service Fabric App Versions
Automatically updates the versions of a packaged Service Fabric application
Team Services, TFS 2017
icon Xamarin License
Activate or deactivate Xamarin licenses
Team Services, TFS 2015 RTM and newer

Test

Task Versions
icon Cloud-based Apache JMeter Load Test
Runs the Apache JMeter load test in cloud
Team Services, TFS 2015 RTM and newer
icon Cloud-based Load Test
Runs the load test in cloud, with Visual Studio Team Services
Team Services, TFS 2015 RTM and newer
icon Cloud-based Web Performance Test
Runs the quick web performance test in cloud, with Visual Studio Team Services
Team Services, TFS 2015 RTM and newer
icon Publish Code Coverage Results
Publish code coverage results to VSTS/TFS
Team Services, TFS 2015 Update 3 and newer
icon Publish Test Results
Publish Test Results to Visual Studio Team Services/TFS
Team Services, TFS 2015 RTM and newer
icon Run Functional Tests
Run Coded UI/Selenium/Functional tests on a set of machines (using Test Agent)
Team Services, TFS 2015 Update 3 and newer
icon Visual Studio Test
Run tests with Visual Studio test runner
Team Services, TFS 2015 RTM and newer
icon Visual Studio Test Agent Deployment
Deploy and configure Test Agent to run tests on a lab machine group
Team Services, TFS 2015 RTM and newer
icon Xamarin Test Cloud
Test mobile apps with Xamarin Test Cloud using Xamarin.UITest
Team Services, TFS 2015 RTM and newer

Package

Task Versions
icon CocoaPods
CocoaPods is the dependency manager for Swift and Objective-C Cocoa projects. Runs pod install
Team Services, TFS 2015 RTM and newer
icon npm
Install npm packages
Team Services, TFS 2015 RTM and newer
icon NuGet Installer
Installs and updates missing NuGet packages
Team Services, TFS 2015 RTM and newer
icon NuGet Packager
Creates nupkg outputs from csproj or nuspec files
Team Services, TFS 2015 Update 3 and newer
icon NuGet Publisher
Uploads nupkg files to a nuget server
Team Services, TFS 2015 Update 3 and newer
icon Xamarin component restore
Restores Xamarin components for the specified solution
Team Services, TFS 2017

Deploy

Task Versions
icon Azure App Service Deploy
Update Azure App Service using Web Deploy / Kudu REST APIs
Team Services, TFS 2017
icon Azure App Service Manage
Start, Stop, Restart or Slot swap for an Azure App Service
Team Services, TFS 2017
icon Azure CLI
Run a shell or batch script containing Azure CLI commands against an Azure subscription
Team Services, TFS 2017
icon Azure Cloud Service Deployment
Deploy an Azure Cloud Service
Team Services, TFS 2015 RTM and newer
icon Azure File Copy
Copy files to Azure blob or VM(s)
Team Services, TFS 2015 Update 3 and newer
icon Azure PowerShell
Run a PowerShell script within an Azure environment
Team Services, TFS 2015 RTM and newer
icon Azure Resource Group Deployment
Deploy, start, stop, delete Azure Resource Groups
Team Services, TFS 2015 Update 3 and newer
icon Azure SQL Database Deployment
Deploy Azure SQL DB using DACPAC
Team Services, TFS 2015 Update 3 and newer
icon Copy Files Over SSH
Copy files from source folder to target folder on a remote machine over SSH
Team Services, TFS 2017
icon Manual Intervention
Pause deployment and wait for intervention
Team Services, TFS 2017
icon PowerShell on Target Machines
Execute PowerShell scripts on remote machine(s)
Team Services, TFS 2015 RTM and newer
icon Service Fabric Application Deployment
Deploy a Service Fabric application to a cluster
Team Services, TFS 2017
icon SSH
Run shell commands or a script on a remote machine using SSH
Team Services, TFS 2017
icon Visual Studio Mobile Center Upload
Upload mobile app packages to Visual Studio Mobile Center
Team Services, TFS 2017
icon Windows Machine File Copy
Copy files to remote machine(s)
Team Services, TFS 2015 RTM and newer

Q&A

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

Build your app

Can I add my own build tasks?

Yes: Add a build task

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.

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