Build and release tasks

VSTS | TFS 2018 | TFS 2017 | TFS 2015 | Previous versions (XAML builds)

Build

Task Versions
icon Android Build - deprecated. Use Gradle VSTS, TFS 2015 RTM and newer
icon Android Signing. Sign and align Android APK files VSTS, TFS 2015 RTM and newer
icon Ant. Build with Apache Ant VSTS, TFS 2015 RTM and newer
icon CMake. Build with the CMake cross-platform build system VSTS, TFS 2015 RTM and newer
icon Gradle. Build using a Gradle wrapper script VSTS, TFS 2015 RTM and newer
icon Grunt. The JavaScript Task Runner VSTS, TFS 2015.3 and newer
icon Gulp. Node.js streaming task based build system VSTS, TFS 2015 RTM and newer
icon Index Sources & Publish Symbols. Index your source code and publish symbols to a file share VSTS, TFS 2015 RTM and newer
icon Jenkins Queue Job. Queue a job on a Jenkins server VSTS, TFS 2015 RTM and newer
icon Maven. Build with Apache Maven VSTS, TFS 2015 RTM and newer
icon MSBuild. Build with MSBuild VSTS, TFS 2015 RTM and newer
icon .NET Core CLI. Build, test, and publish using the .NET Core command line VSTS, TFS 2018
icon Publish Build Artifacts. Publish Build artifacts to the server or a file share TFS 2015 RTM. Deprecated on VSTS and newer versions of TFS.
SonarQube for MSBuild - Begin Analysis. Fetch the Quality Profile from SonarQube to configure the analysis VSTS, TFS 2015.3 and newer
SonarQube for MSBuild - End Analysis. Finish the analysis and upload the results to SonarQube VSTS, TFS 2015.3 and newer
icon Visual Studio Build. Build with MSBuild and set the Visual Studio version property VSTS, TFS 2015 RTM and newer
icon Xamarin.Android. Build an Android app with Xamarin VSTS, TFS 2015 RTM and newer
icon Xamarin.iOS. Build an iOS app with Xamarin on macOS VSTS, TFS 2015 RTM and newer
icon Xcode. Build an Xcode workspace on macOS VSTS, TFS 2015 RTM and newer
icon Xcode Package iOS. Generate an .ipa file from Xcode build output VSTS, 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. VSTS, TFS 2017 and newer
icon Azure function. Invoke a HTTP triggered function in an Azure function app and parse the response. VSTS
icon Azure monitor. Observe the configured Azure monitor rules for active alerts. VSTS
icon Batch Script. Run a windows cmd or bat script and optionally allow it to change the environment VSTS, TFS 2015 RTM and newer
icon Command Line. Run a command line with arguments VSTS, 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 TFS 2015 RTM. Deprecated on VSTS and newer versions of TFS.
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). VSTS, TFS 2015.3 and newer
icon cURL Upload Files. Use cURL to upload files with supported protocols. (FTP, FTPS, SFTP, HTTP, and more) VSTS, TFS 2015 RTM and newer
icon Delay. Pause execution of the process for a fixed delay time. VSTS
icon Delete Files. Delete files or folders. VSTS, TFS 2015.3 and newer
icon Download Secure File. Download a secure file to a temporary location on the build or release agent. VSTS
icon Extract Files. Extract files from archives (.zip, .jar, .war, .ear, .tar, .7z., and others) to a target folder. VSTS, TFS 2017 and newer
icon FTP Upload. Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS. VSTS, TFS 2017 and newer
icon Install Apple Certificate. Install an Apple certificate required to build on a macOS agent. VSTS, TFS 2018
icon Install Apple Provisioning Profile. Install an Apple provisioning profile required to build on a macOS agent. VSTS, TFS 2018
icon Invoke HTTP REST API. Invoke an HTTP API and parse the response. VSTS
icon Manual intervention. Pause an active deployment within an environment, typically to perform some manual steps or actions, and then continue the automated deployment steps. VSTS
icon PowerShell. Run a PowerShell script VSTS, TFS 2015 RTM and newer
icon Publish Build Artifacts. Publish Build artifacts to the server or a file share VSTS, TFS 2015.3 and newer
icon Publish To Azure Service Bus. Send a message to an Azure Service Bus using a service connection and without using an agent. VSTS
icon Query Work Items. Ensure the number of matching items returned by a work item query in within the configured thresholds. VSTS
icon Service Fabric PowerShell. Runs any PowerShell command or script in a PowerShell session that has a Service Fabric cluster connection initialized. VSTS
icon Shell Script. Run a shell script using bash VSTS, TFS 2015 RTM and newer
icon Update Service Fabric App Versions. Automatically updates the versions of a packaged Service Fabric application VSTS, TFS 2017 and newer
icon Xamarin License. Activate or deactivate Xamarin licenses VSTS, TFS 2015 RTM and newer

Test

Task Versions
icon Cloud-based Apache JMeter Load Test. Runs the Apache JMeter load test in cloud VSTS, TFS 2015 RTM and newer
icon Cloud-based Load Test. Runs the load test in cloud, with VSTS VSTS, TFS 2015 RTM and newer
icon Cloud-based Web Performance Test. Runs the quick web performance test in cloud, with VSTS VSTS, TFS 2015 RTM and newer
icon App Center Test. Test mobile app packages with Visual Studio App Center VSTS, TFS 2015.3 and newer
icon Publish Code Coverage Results. Publish code coverage results to VSTS/TFS VSTS, TFS 2015.3 and newer
icon Publish Test Results. Publish Test Results to VSTS/TFS VSTS, TFS 2015 RTM and newer
icon Run Functional Tests. Run Coded UI/Selenium/Functional tests on a set of machines (using Test Agent) VSTS, TFS 2015.3 and newer
icon Visual Studio Test version 2. Visual Studio Test version 1
Run tests with Visual Studio test runner
VSTS, TFS 2015 RTM and newer
icon Visual Studio Test Agent Deployment. Deploy and configure Test Agent to run tests on a lab machine group VSTS, TFS 2015 RTM and newer
icon Xamarin Test Cloud. Test mobile apps with Xamarin Test Cloud using Xamarin.UITest VSTS, 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 VSTS, TFS 2015 RTM and newer
icon npm. Install npm packages VSTS, TFS 2015 RTM and newer
icon NuGet Installer. Installs and updates missing NuGet packages VSTS, TFS 2015 RTM and newer
icon NuGet PackagerCreates nupkg outputs from csproj or nuspec files VSTS, TFS 2015.3 and newer
icon NuGet Publisher. Uploads nupkg files to a nuget server VSTS, TFS 2015.3 and newer
icon Xamarin component restore. Restores Xamarin components for the specified solution VSTS, TFS 2017 and newer

Deploy

Task Versions
icon Azure App Service Deploy. Update Azure App Service using Web Deploy / Kudu REST APIs VSTS, TFS 2017 and newer
icon Azure App Service Manage. Start, Stop, Restart or Slot swap for an Azure App Service VSTS, TFS 2017 and newer
icon Azure CLI. Run a shell or batch script containing Azure CLI commands against an Azure subscription VSTS, TFS 2017 and newer
icon Azure Cloud Service Deployment. Deploy an Azure Cloud Service VSTS, TFS 2015 RTM and newer
icon Azure File Copy. Copy files to Azure blob or VM(s) VSTS, TFS 2015.3 and newer
icon Azure Key Vault. Incorporate secrets from an Azure Key Vault into a release definition VSTS
icon Azure PowerShell. Run a PowerShell script within an Azure environment VSTS, TFS 2015 RTM and newer
icon Azure Resource Group Deployment. Deploy, start, stop, delete Azure Resource Groups VSTS, TFS 2015.3 and newer
icon Azure SQL Database Deployment. Deploy Azure SQL DB using DACPAC VSTS, TFS 2015.3 and newer
icon Copy Files Over SSH. Copy files from source folder to target folder on a remote machine over SSH VSTS, TFS 2017 and newer
icon IIS Web App Deploy. Deploy IIS Websites and Virtual Applications using WebDeploy VSTS
icon IIS Web App Manage. Create or update, start or stop, and recycle IIS Websites, IIS Web Applications, Virtual Directories, and IIS Application Pools VSTS
icon App Center Distribute. Upload and distribute mobile app packages using Visual Studio App Center VSTS, TFS 2015 RTM and newer
icon PowerShell on Target Machines. Execute PowerShell scripts on remote machine(s) VSTS, TFS 2015 RTM and newer
icon Service Fabric Application Deployment. Deploy a Service Fabric application to a cluster VSTS, TFS 2017 and newer
icon Service Fabric Compose Deploy. Deploy a Service Fabric application to a cluster using a compose file VSTS
icon SSH. Run shell commands or a script on a remote machine using SSH VSTS, TFS 2017 and newer
icon Windows Machine File Copy. Copy files to remote machine(s) VSTS, TFS 2015 RTM and newer

Tool

Task Versions
icon .NET Core Tool Installer. Acquires a specific version of .NET Core and adds it to the PATH. Use the task to change the Core version for subsequent tasks. VSTS, TFS 2018
icon Node Tool Installer. Finds or downloads and caches the specified version of Node.js and adds it to the PATH VSTS
icon Java Tool Installer. Acquires a specific version of Java from a user supplied Azure blob, a location in the souce or on the agent, or the tools cache and sets JAVA_HOME. Use this task to change the version of Java used in Java tasks. VSTS

To learn more about tool installer tasks, see Tool installers.

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 an agent?

You need at least one agent to run your build or release. Get an agent.

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

See Agent pools and queues.

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

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