Build and release tasks

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

Note

Build and release pipelines are called definitions in TFS 2018 and in older versions. Service connections are called service endpoints in TFS 2018 and in older versions.

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 Docker. Build, tag, push, or run Docker images, or run a Docker command. VSTS
icon Docker Compose. Build, push or run multi-container Docker applications. VSTS
icon Go. Get, build, test a go application, or run a custom go command. VSTS
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 2017 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, package, or publish a dotnet application, or run a custom dotnet command. 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 - Begin Analysis. Fetch the Quality Profile from SonarQube to configure the analysis VSTS, TFS 2015.3 and newer
SonarQube - 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 Network Load Balancer.Connect/Disconnect an Azure virtual machine's network interface to a Load Balancer's backend address pool VSTS
icon Bash. Run a Bash script on macOS, Linux, or Windows 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 Decrypt File. A thin utility task for file decryption using OpenSSL. VSTS
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 Build Artifacts. Download build artifacts. VSTS
icon Download Package. Download a package from a Package Management feed in VSTS or TFS. Requires the Package Management extension. VSTS
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 Install SSH Key. Install an SSH key prior to a build or release VSTS
icon Invoke HTTP REST API. Invoke an HTTP API and parse the response. VSTS
icon Jenkins Download Artifacts. Download artifacts produced by a Jenkins job 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 tasks. 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 Python Script. Run a Python script. VSTS
icon Query Azure Monitor Alerts. Observe the configured Azure monitor rules for active alerts. 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

Test

Task Versions
icon App Center Test. Test mobile app packages with Visual Studio App Center VSTS, TFS 2015.3 and newer
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 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 unit and functional tests (Selenium, Appium, Coded UI test, etc.) using the Visual Studio Test runner. Test frameworks that have a Visual Studio test adapter such as xUnit, NUnit, Chutzpah, etc. can also be run.
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

Package

Task Versions
icon Conda Environment. Create and activate a Conda environment VSTS
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 npm Authenticate. Don't use this task if you're also using the npm task. Provides npm credentials to an .npmrc file in your repository for the scope of the build. 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 PyPI Publisher. Publish a Python package to PyPI VSTS
icon Xamarin Component Restore. - deprecated. See Updating component references to NuGet VSTS, TFS 2015 RTM and newer

Deploy

Task Versions
icon App Center Distribute. Distribute app builds to testers and users via App Center VSTS, TFS 2017 and newer
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 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 pipeline VSTS
icon Azure Monitor Alerts. Configure alerts on available metrics for an Azure resource VSTS
icon Azure MySQL Deployment. Run your scripts and make changes to your Azure DB for MySQL. 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 an Azure SQL database using DACPAC or run scripts using SQLCMD VSTS, TFS 2015.3 and newer
icon Azure VMSS Deployment. Deploy a virtual machine scale set image. VSTS
icon Chef. Deploy to Chef environments by editing environment attributes VSTS
icon Chef Knife. Run Scripts with knife commands on your chef workstation VSTS
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 Docker. Build, tag, push, or run Docker images, or run a Docker command. Task can be used with Docker or Azure Container registry VSTS, TFS 2017 and newer
icon Docker Compose. Build, push or run multi-container Docker applications. VSTS
icon Helm Deploy. Deploy, configure, update your Kubernetes cluster in Azure Container Service by running helm commands. VSTS
icon IIS Web App Deploy. Deploy a Website or Web Application using WebDeploy VSTS
icon IIS Web App Manage. Create or update a Website, Web App, Virtual Directories, and Application Pool VSTS
icon Kubernetes. Deploy, configure, update your Kubernetes cluster in Azure Container Service by running kubectl commands. VSTS
icon Packer Build. Build a machine image using Packer. VSTS
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 SQL Server Database Deploy. Deploy a SQL Server database using DACPAC or SQL scripts VSTS
icon Windows Machine File Copy. Copy files to remote machine(s) VSTS, TFS 2015 RTM and newer

Tool

Task Versions
icon Go Tool Installer. Finds or downloads a specific version of the Go tool into the tools cache and adds it to the PATH VSTS
icon Helm Tool Installer. Install Helm and Kubernetes on agent machine. 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
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 Use Python Version. Selects a version of Python to run on an agent. Optionally adds it to PATH. VSTS
icon Use Ruby Version. Selects a version of Ruby to run on an agent. Optionally adds it to PATH. VSTS
icon Visual Studio Test Platform Installer. Acquires the Visual Studio Test Platform from nuget.org or the tools cache. VSTS

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

Open source

These tasks are open source on GitHub. Feedback and contributions are welcome.

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.