Build and release tasks

Azure Pipelines | TFS 2018 | TFS 2017 | TFS 2015 | Previous versions (XAML builds)

Note

In Microsoft Team Foundation Server (TFS) 2018 and previous versions, build and release pipelines are called definitions, service connections are called service endpoints, stages are called environments, and jobs are called phases.

Build

Task Versions
icon .NET Core. build, test, and release .NET Core and .NET Standard projects and create .NET Core and .NET Standard NuGet packages using the dotnet command-line tool. Azure Pipelines, TFS 2018
icon .NET Core CLI. Build, test, package, or publish a dotnet application, or run a custom dotnet command. Azure Pipelines, TFS 2018
icon Android Build - deprecated. Use Gradle Azure Pipelines, TFS 2015 RTM and newer
icon Android Signing. Sign and align Android APK files Azure Pipelines, TFS 2015 RTM and newer
icon Ant. Build with Apache Ant Azure Pipelines, TFS 2015 RTM and newer
icon CMake. Build with the CMake cross-platform build system Azure Pipelines, TFS 2015 RTM and newer
icon Docker. Build, tag, push, or run Docker images, or run a Docker command. Azure Pipelines
icon Docker Compose. Build, push or run multi-container Docker applications. Azure Pipelines
icon Go. Get, build, test a go application, or run a custom go command. Azure Pipelines
icon Gradle. Build using a Gradle wrapper script Azure Pipelines, TFS 2015 RTM and newer
icon Grunt. The JavaScript Task Runner Azure Pipelines, TFS 2015.3 and newer
icon gulp. Node.js streaming task based build system Azure Pipelines, TFS 2015 RTM and newer
icon Index Sources & Publish Symbols. Index your source code and publish symbols to a file share Azure Pipelines, TFS 2015 RTM and newer
icon Jenkins Queue Job. Queue a job on a Jenkins server Azure Pipelines, TFS 2017 RTM and newer
icon Maven. Build with Apache Maven Azure Pipelines, TFS 2015 RTM and newer
icon MSBuild. Build with MSBuild Azure Pipelines, TFS 2015 RTM and newer
icon Publish Build Artifacts. Publish Build artifacts to the server or a file share TFS 2015 RTM. Deprecated on Azure Pipelines and newer versions of TFS.
icon Publish Pipeline Artifact. Publish pipeline artifact Azure Pipelines
SonarQube - Begin Analysis. Fetch the Quality Profile from SonarQube to configure the analysis Azure Pipelines, TFS 2015.3 and newer
SonarQube - End Analysis. Finish the analysis and upload the results to SonarQube Azure Pipelines, TFS 2015.3 and newer
icon Visual Studio Build. Build with MSBuild and set the Visual Studio version property Azure Pipelines, TFS 2015 RTM and newer
icon Xamarin.Android. Build an Android app with Xamarin Azure Pipelines, TFS 2015 RTM and newer
icon Xamarin.iOS. Build an iOS app with Xamarin on macOS Azure Pipelines, TFS 2015 RTM and newer
icon Xcode. Build an Xcode workspace on macOS Azure Pipelines, TFS 2015 RTM and newer
icon Xcode Package iOS. Generate an .ipa file from Xcode build output Azure Pipelines, 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. Azure Pipelines, TFS 2017 and newer
icon Azure Network Load Balancer.Connect/Disconnect an Azure virtual machine's network interface to a Load Balancer's backend address pool Azure Pipelines
icon Bash. Run a Bash script on macOS, Linux, or Windows Azure Pipelines
icon Batch Script. Run a windows cmd or bat script and optionally allow it to change the stage Azure Pipelines, TFS 2015 RTM and newer
icon Command Line. Run a command line with arguments Azure Pipelines, 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 Azure Pipelines 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). Azure Pipelines, TFS 2015.3 and newer
icon cURL Upload Files. Use cURL to upload files with supported protocols. (FTP, FTPS, SFTP, HTTP, and more) Azure Pipelines, TFS 2015 RTM and newer
icon Decrypt File. A thin utility task for file decryption using OpenSSL. Azure Pipelines
icon Delay. Pause execution of the pipeline for a fixed delay time. Azure Pipelines
icon Delete Files. Delete files or folders. Azure Pipelines, TFS 2015.3 and newer
icon Download Build Artifacts. Download build artifacts. Azure Pipelines
icon Download Fileshare Artifacts. Download fileshare artifacts. Azure Pipelines
icon Download Pipeline Artifact. Download pipeline artifacts. Azure Pipelines
icon Download Package. Download a package from a Package Management feed in Azure Pipelines or TFS. Requires the Package Management extension. Azure Pipelines
icon Download Secure File. Download a secure file to a temporary location on the build or release agent. Azure Pipelines
icon Extract Files. Extract files from archives (.zip, .jar, .war, .ear, .tar, .7z., and others) to a target folder. Azure Pipelines, TFS 2017 and newer
icon FTP Upload. Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS. Azure Pipelines, TFS 2017 and newer
icon GitHub Release. Create, edit, or discard a GitHub release. Azure Pipelines
icon Install Apple Certificate. Install an Apple certificate required to build on a macOS agent. Azure Pipelines, TFS 2018
icon Install Apple Provisioning Profile. Install an Apple provisioning profile required to build on a macOS agent. Azure Pipelines, TFS 2018
icon Install SSH Key. Install an SSH key prior to a build or release Azure Pipelines
icon Invoke Azure Function. Invoke a HTTP triggered function in an Azure function app and parse the response. Azure Pipelines
icon Invoke REST API. Invoke an HTTP API and parse the response. Azure Pipelines
icon Jenkins Download Artifacts. Download artifacts produced by a Jenkins job Azure Pipelines
icon Manual Intervention. Pause an active deployment within a stage, typically to perform some manual steps or actions, and then continue the automated deployment tasks. Azure Pipelines
icon PowerShell. Run a PowerShell script Azure Pipelines, TFS 2015 RTM and newer
icon Publish Build Artifacts. Publish Build artifacts to the server or a file share Azure Pipelines, TFS 2015.3 and newer
icon Publish Pipeline Artifact. Publish pipeline artifact Azure Pipelines
icon Publish To Azure Service Bus. Send a message to an Azure Service Bus using a service connection and without using an agent. Azure Pipelines
icon Python Script. Run a Python script. Azure Pipelines
icon Query Azure Monitor Alerts. Observe the configured Azure monitor rules for active alerts. Azure Pipelines
icon Query Work Items. Ensure the number of matching items returned by a work item query in within the configured thresholds. Azure Pipelines
icon Service Fabric PowerShell. Runs any PowerShell command or script in a PowerShell session that has a Service Fabric cluster connection initialized. Azure Pipelines
icon Shell Script. Run a shell script using bash Azure Pipelines, TFS 2015 RTM and newer
icon Update Service Fabric App Versions. Automatically updates the versions of a packaged Service Fabric application Azure Pipelines, TFS 2017 and newer

Test

Task Versions
icon App Center Test. Test mobile app packages with Visual Studio App Center Azure Pipelines, TFS 2015.3 and newer
icon Cloud-based Apache JMeter Load Test. Runs the Apache JMeter load test in cloud Azure Pipelines, TFS 2015 RTM and newer
icon Cloud-based Load Test. Runs the load test in cloud, with Azure Pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Cloud-based Web Performance Test. Runs the quick web performance test in cloud, with Azure Pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Publish Code Coverage Results. Publish code coverage results to Azure Pipelines/TFS Azure Pipelines, TFS 2015.3 and newer
icon Publish Test Results. Publish Test Results to Azure Pipelines/TFS Azure Pipelines, TFS 2015 RTM and newer
icon Run Functional Tests. Run Coded UI/Selenium/Functional tests on a set of machines (using Test Agent) Azure Pipelines, 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.
Azure Pipelines, TFS 2015 RTM and newer
icon Visual Studio Test Agent Deployment. Deploy and configure Test Agent to run tests on a lab machine group Azure Pipelines, 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 Azure Pipelines, TFS 2015 RTM and newer
icon Conda Environment. Create and activate a Conda environment Azure Pipelines
icon npm. Install npm packages Azure Pipelines, 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. Azure Pipelines, TFS 2015 RTM and newer
icon NuGet Installer. Installs and updates missing NuGet packages Azure Pipelines, TFS 2015 RTM and newer
icon NuGet Packager. Creates nupkg outputs from csproj or nuspec files Azure Pipelines, TFS 2015.3 and newer
icon NuGet Publisher. Uploads nupkg files to a nuget server Azure Pipelines, TFS 2015.3 and newer
icon PyPI Publisher. Publish a Python package to PyPI Azure Pipelines
icon Xamarin Component Restore - deprecated. See Updating component references to NuGet Azure Pipelines, TFS 2015 RTM and newer

Deploy

Task Versions
icon App Center Distribute. Distribute app builds to testers and users via App Center Azure Pipelines, TFS 2017 and newer
icon Azure App Service Deploy. Update Azure App Service using Web Deploy / Kudu REST APIs Azure Pipelines, TFS 2017 and newer
icon Azure App Service Manage. Start, Stop, Restart or Slot swap for an Azure App Service Azure Pipelines, TFS 2017 and newer
icon Azure CLI. Run a shell or batch script containing Azure CLI commands against an Azure subscription Azure Pipelines, TFS 2017 and newer
icon Azure Cloud PowerShell Deployment. Deploy an Azure Cloud Service Azure Pipelines, TFS 2017 and newer
icon Azure File Copy. Copy files to Azure blob or VM(s) Azure Pipelines, TFS 2015.3 and newer
icon Azure Key Vault. Incorporate secrets from an Azure Key Vault into a release pipeline Azure Pipelines
icon Azure Monitor Alerts. Configure alerts on available metrics for an Azure resource Azure Pipelines
icon Azure MySQL Deployment. Run your scripts and make changes to your Azure DB for MySQL. Azure Pipelines
icon Azure Policy Check Gate. Security and compliance assessment with Azure policies on resources that belong to the resource group and Azure subscription. Azure Pipelines
icon Azure PowerShell. Run a PowerShell script within an Azure environment Azure Pipelines, TFS 2015 RTM and newer
icon Azure Resource Group Deployment. Deploy, start, stop, delete Azure Resource Groups Azure Pipelines, TFS 2015.3 and newer
icon Azure SQL Database Deployment. Deploy an Azure SQL database using DACPAC or run scripts using SQLCMD Azure Pipelines, TFS 2015.3 and newer
icon Azure VM Scale Set Deployment. Deploy a virtual machine scale set image. Azure Pipelines
icon Build Machine Image (Packer). Build a machine image using Packer. Azure Pipelines
icon Chef. Deploy to Chef environments by editing environment attributes Azure Pipelines
icon Chef Knife. Run Scripts with knife commands on your chef workstation Azure Pipelines
icon Copy Files Over SSH. Copy files from source folder to target folder on a remote machine over SSH Azure Pipelines, 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 Azure Pipelines, TFS 2017 and newer
icon Docker Compose. Build, push or run multi-container Docker applications. Azure Pipelines
icon Helm Deploy. Deploy, configure, update your Kubernetes cluster in Azure Container Service by running helm commands. Azure Pipelines
icon IIS Web App Deploy. Deploy a website or web app to a machine group using WebDeploy Azure Pipelines
icon IIS Web App Manage. Create or update a website, web app, virtual directory, or application pool on a machine group Azure Pipelines
icon Kubernetes. Deploy, configure, update your Kubernetes cluster in Azure Container Service by running kubectl commands. Azure Pipelines
icon PowerShell on Target Machines. Execute PowerShell scripts on remote machine(s) Azure Pipelines, TFS 2015 RTM and newer
icon Service Fabric Application Deployment. Deploy a Service Fabric application to a cluster Azure Pipelines, TFS 2017 and newer
icon Service Fabric Compose Deploy. Deploy a Service Fabric application to a cluster using a compose file Azure Pipelines
icon SSH. Run shell commands or a script on a remote machine using SSH Azure Pipelines, TFS 2017 and newer
icon Windows Machine File Copy. Copy files to remote machine(s) Azure Pipelines, TFS 2015 RTM and newer
icon WinRM SQL Server DB Deployment. Deploy a SQL Server database using DACPAC or SQL scripts Azure Pipelines

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

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 for Linux, macOS, or Windows.

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

See Agent pools.

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

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