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, run and release pipelines are called definitions, runs are called builds, service connections are called service endpoints, stages are called environments, and jobs are called phases.

This article provides an index of built-in tasks. To learn more about tasks, including creating custom tasks, custom extensions, and finding tasks on the Visual Studio Marketplace, see Tasks concepts.

Build

Task Versions
icon .NET Core CLI task - Build, test, package, or publish a dotnet application, or run a custom dotnet command. For package commands, supports NuGet.org and authenticated feeds like Package Management and MyGet. Azure Pipelines, TFS 2017 and newer
icon Android build task (deprecated; use Gradle) - Android build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Android signing build and release task - Android signing build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Ant build and release task - Learn how to build with Apache Ant Azure Pipelines, TFS 2015 RTM and newer
icon Azure IoTEdge task - Build, test, and deploy applications quickly and efficiently to Azure IoT Edge Azure Pipelines
icon CMake build and release task - CMake build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Docker Compose task - Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry. Azure Pipelines, Azure DevOps Server 2019
icon Docker task - Build and push Docker images to any container registry using Docker registry service connection Azure Pipelines, TFS 2018 and newer
icon Go task - Get, build, test a go application, or run a custom go command. Azure Pipelines
icon Gradle build and release task - Gradle build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Grunt build and release task - Grunt build and release task Azure Pipelines, TFS 2015.3 and newer
icon Gulp build and release task - Gulp build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Index Sources & Publish Symbols build and release task - Index Sources & Publish Symbols build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Jenkins Queue Job build and release task - Queue a job on a Jenkins server build and release task Azure Pipelines, TFS 2017 and newer
icon Maven build and release task - Maven build and release task Azure Pipelines, TFS 2015 RTM and newer
icon MSBuild build and release task - MSBuild build and release task Azure Pipelines, TFS 2015 RTM and newer
icon SonarQube - Prepare Analysis Configuration - Configure all the required settings before executing the build Azure Pipelines, TFS 2015.3 and newer
icon SonarQube - Publish Quality Gate Result - Display the Quality Gate status in the build summary Azure Pipelines, TFS 2015.3 and newer
icon SonarQube - Run Code Analysis - Run the analysis of the source code Azure Pipelines, TFS 2015.3 and newer
icon Visual Studio Build build and release task - Visual Studio Build build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Xamarin.Android build and release task - Xamarin.Android build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Xamarin.iOS build and release task - Xamarin.iOS build and release task Azure Pipelines, TFS 2015 RTM and newer
icon Xcode build and release task - Xcode build and release task Azure Pipelines
icon Xcode Build build and release task - Xcode Build build and release task TFS 2015, TFS 2017, TFS 2018
icon Xcode Package iOS build and release task - Xcode Package iOS build and release task Azure Pipelines, TFS 2015 RTM and newer

Utility

Task Versions
icon Archive Files task - Use an archive file to then create a source folder Azure Pipelines, TFS 2017 and newer
icon Azure Network Load Balancer task - Connect or disconnect an Azure virtual machine's network interface to a load balancer's address pool Azure Pipelines
icon Azure Policy task - Security and compliance assessment with Azure policies Azure Pipelines, Azure DevOps Server 2019
icon Bash task - Run a Bash script on macOS, Linux, or Windows Azure Pipelines
icon Batch Script task - Execute .bat or .cmd scripts when building your code Azure Pipelines, TFS 2015 RTM and newer
icon Command Line task - Execute tools from a command prompt when building code Azure Pipelines, TFS 2015 RTM and newer
icon Copy and Publish Build Artifacts task - Copy build artifacts to a staging folder and publish them TFS 2015 RTM. Deprecated on Azure Pipelines and newer versions of TFS.
icon Copy Files task - Copy files between folders with match patterns when building code Azure Pipelines, TFS 2015.3 and newer
icon cURL Upload Files task - Use cURL to upload files with supported protocols Azure Pipelines, TFS 2015 RTM and newer
icon Decrypt File (OpenSSL) task - A thin utility task for file decryption using OpenSSL Azure Pipelines
icon Delay task - Pause execution of a build or release pipeline for a fixed delay time Azure Pipelines, Azure DevOps Server 2019
icon Delete Files task - Delete files from the agent working directory when building code Azure Pipelines, TFS 2015.3 and newer
icon Download Build Artifacts task - Download Build Artifacts task for use in a build or release pipeline Azure Pipelines
icon Download Fileshare Artifacts task - Download Fileshare Artifacts task for Azure Pipelines and TFS Azure Pipelines
icon Download GitHub Release task - Download assets from your GitHub release as part of your pipeline Azure Pipelines
icon Download Package task - Download a package from a Package Management feed in Azure Artifacts or TFS. Azure Pipelines
icon Download Pipeline Artifact task - Download Pipeline Artifact task to download pipeline artifacts from earlier stages in this pipeline, or from another pipeline Azure Pipelines
icon Download Secure File task - Download a secure file to a temporary location on the build or release agent in Azure Pipelines
icon Extract Files task - Extract files from archives to a target folder using minimatch patterns on (TFS) Azure Pipelines, TFS 2017 and newer
icon File Transform task - Apply configuration file transformations and variable substitution to a target package or folder Azure Pipelines, Azure DevOps Server 2019
icon FTP Upload task - Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS on (TFS) Azure Pipelines, TFS 2017 and newer
icon GitHub Release task - Create, edit, or discard a GitHub release. Azure Pipelines
icon Install Apple Certificate task - Install an Apple certificate required to build on a macOS agent on (TFS) Azure Pipelines, TFS 2018 and newer
icon Install Apple Provisioning Profile task - Install an Apple provisioning profile required to build on a macOS agent Azure Pipelines, TFS 2018 and newer
icon Install SSH Key task - Install an SSH key prior to a build or release Azure Pipelines
icon Invoke Azure Function task - Invoke a HTTP triggered function in an Azure function app and parse the response Azure Pipelines, TFS 2017 and newer
icon Invoke HTTP REST API task - Build and release task to invoke an HTTP API and parse the response with a build or release pipeline Azure Pipelines, TFS 2018 and newer
icon Jenkins Download Artifacts task - Download artifacts produced by a Jenkins job Azure Pipelines, TFS 2017 and newer
icon Manual Intervention task - Pause an active deployment within a stage in a release pipeline Azure Pipelines, Azure DevOps Server 2019
icon PowerShell task - Execute PowerShell scripts Azure Pipelines, TFS 2015 RTM and newer
icon Publish Build Artifacts task - Publish build artifacts to Azure Pipelines, Team Foundation Server (TFS), or to a file share Azure Pipelines, TFS 2015 RTM and newer
icon Publish Pipeline Artifacts task - Publish artifacts to Azure Pipelines. Azure Pipelines
icon Publish To Azure Service Bus task - Send a message to an Azure Service Bus with a build or release pipeline Azure Pipelines, Azure DevOps Server 2019
icon Python Script task - Run a Python script in a build or release pipeline Azure Pipelines
icon Query Azure Monitor Alerts task - Observe the configured Azure monitor rules for active alerts in a build or release pipeline Azure Pipelines, TFS 2017 and newer
icon Query Work Items task - Ensure the number of matching items returned by a work item query is within the configured threshold Azure Pipelines, TFS 2017 and newer
icon Service Fabric PowerShell Utility task - Service Fabric PowerShell task for use in build or release pipelines in Azure Pipelines, Azure DevOps Server 2019
icon Shell Script task - Execute a bash script when building code Azure Pipelines, TFS 2015 RTM and newer
icon Update Service Fabric Manifests task - Update the Service Fabric App versions Azure Pipelines, TFS 2017 and newer
icon Xamarin License task - Activate or deactivate a Xamarin license when building code Azure Pipelines, TFS 2015 RTM and newer

Test

Task Versions
icon App Center Test task - Test app packages with Visual Studio App Center. Azure Pipelines, TFS 2017 and newer
icon Cloud-based Apache JMeter Load Test task (Deprecated) - Runs the Apache JMeter load test in cloud Azure Pipelines
icon Cloud-based Load Test task (Deprecated) - Runs the load test in cloud with a build or release pipeline with Azure Pipelines to integrate cloud-based load tests into your build and release pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Cloud-based Web Performance Test task (Deprecated) - Runs the Quick Web Performance Test with a build or release pipeline to easily verify your web application exists and is responsive Azure Pipelines, TFS 2015 RTM and newer
icon Container Structure Test Task - Test container structure by container task and integrate test reporting into your build and release pipelines Azure Pipelines
icon Publish Code Coverage Results task - Publish Cobertura or JaCoCo code coverage results from an Azure Pipelines or TFS build Azure Pipelines, TFS 2015 RTM and newer
icon Publish Test Results task - Publish Test Results to integrate test reporting into your build and release pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Run Functional Tests task - Run Coded UI/Selenium/Functional tests on a set of machines using the Test Agent to integrate cloud-based load tests into your build and release pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Visual Studio Test Agent Deployment task - Deploy and configure the Test Agent to run tests on a set of machines to integrate cloud-based load tests into your build and release pipelines Azure Pipelines, TFS 2015 RTM and newer
icon Visual Studio Test task - 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
icon Xamarin Test Cloud task - This task is deprecated. Use the App Center Test task instead. Azure Pipelines, TFS 2015 RTM and newer

Package

Task Versions
icon CocoaPods task - Learn all about how you can use CocoaPods packages when you are building code in Azure Pipelines or Team Foundation Server (TFS). Azure Pipelines, TFS 2015 RTM and newer
icon Conda Environment task - How to create and activate a Conda environment when building code Azure Pipelines
icon Maven Authenticate task (for task runners) - Provides credentials for Azure Artifacts feeds and external Maven repositories. Azure Pipelines
icon npm Authenticate task (for task runners) - 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. This enables npm task runners like gulp and Grunt to authenticate with private registries. Azure Pipelines
icon npm task - How to use npm packages when building code in Azure Pipelines Azure Pipelines, TFS 2015 RTM and newer
icon NuGet Authenticate - Configure NuGet tools to authenticate with Azure Artifacts and other NuGet repositories Azure Pipelines
icon NuGet restore, pack, and publish task - Learn all about how you can make use of NuGet packages when you are building code Azure Pipelines, TFS 2018 and newer
icon PyPI Publisher task (Deprecated) - How to upload a package to PyPI when building code Azure Pipelines
icon Python Pip Authenticate - Sets up authentication with pip so you can perform pip commands in your pipeline. Azure Pipelines
icon Python Twine Upload Authenticate - Sets up authentication with twine to Python feeds so you can publish Python packages in your pipeline. Azure Pipelines

Deploy

Task Versions
icon App Center Distribute task - Distribute app builds to testers and users through App Center Azure Pipelines, TFS 2017 and newer
icon Azure App Service Deploy task - The Azure App Service Deploy task is used to update Azure App Services to deploy Web Apps, Functions, and WebJobs. Azure Pipelines, Azure DevOps Server 2019
icon Azure App Service Manage task - Start, Stop, Restart, Slot swap, Install site extensions, or Enable Continuous Monitoring for an Azure App Service Azure Pipelines
icon Azure CLI task - build task to run a shell or batch script containing Microsoft Azure CLI commands Azure Pipelines, Azure DevOps Server 2019
icon Azure Cloud Service Deployment task - Deploy an Azure Cloud Service Azure Pipelines
icon Azure Database for Mysql Deployment task - Run your scripts and make changes to your Azure DB for Mysql. Azure Pipelines
icon Azure File Copy task - build task to copy files to Microsoft Azure storage blobs or virtual machines (VMs) Azure Pipelines, TFS 2015.3 and newer
icon Azure Function App for Container task - Deploy Azure Functions on Linux using custom images Azure Pipelines
icon Azure Function App task - The Azure App Service Deploy task is used to update Azure App Services to deploy Web Apps, Functions, and WebJobs. Azure Pipelines
icon Azure Key Vault task - Azure Key Vault task for use in the jobs of all of your build and release pipelines Azure Pipelines, Azure DevOps Server 2019
icon Azure Monitor Alerts task - Configure alerts on available metrics for an Azure resource Azure Pipelines
icon Azure Policy Check Gate task - Security and compliance assessment with Azure policies on resources that belong to the resource group and Azure subscription. Azure Pipelines
icon Azure PowerShell task - Run a PowerShell script within an Azure environment Azure Pipelines
icon Azure Resource Group Deployment task - Deploy, start, stop, or delete Azure Resource Groups Azure Pipelines
icon Azure SQL Database Deployment task - Deploy Azure SQL DB using DACPAC or run scripts using SQLCMD Azure Pipelines
icon Azure VM Scale Set Deployment task - Deploy Virtual Machine scale set image Azure Pipelines
icon Azure Web App for Container task - Deploy Web Apps, Functions, and WebJobs to Azure App Services Azure Pipelines
icon Azure Web App task - The Azure App Service Deploy task is used to update Azure App Services to deploy Web Apps, Functions, and WebJobs. Azure Pipelines
icon Build Machine Image task - Build a machine image using Packer to use for Azure Virtual machine scale set deployment Azure Pipelines
icon Chef Knife task - Run scripts with Knife commands on your Chef workstation Azure Pipelines
icon Chef task - Deploy to Chef environments by editing environment attributes Azure Pipelines
icon Copy Files Over SSH task - Copy Files Over SSH task for use in the jobs of all of your build and release pipelines Azure Pipelines, TFS 2017 and newer
icon IIS Web App Deploy task - Deploy a website or web app using WebDeploy Azure Pipelines
icon IIS Web App Manage task - Create or update a Website, Web App, Virtual Directory, or Application Pool Azure Pipelines
icon Kubectl task - Deploy, configure, or update a Kubernetes cluster in Azure Container Service by running kubectl commands. Azure Pipelines
icon Kubernetes Manifest task - Bake and deploy manifests to Kubernetes clusters Azure Pipelines
icon MySQL Database Deployment On Machine Group task - The task is used to deploy for MySQL Database. Azure Pipelines
icon Package and Deploy Helm Charts task - Deploy, configure, update your Kubernetes cluster in Azure Container Service by running helm commands. Azure Pipelines, Azure DevOps Server 2019
icon PowerShell on Target Machines task - PowerShell on Target Machines build task Azure Pipelines, TFS 2015 RTM and newer
icon Service Fabric Application Deployment task - Service Fabric Application Deployment task Azure Pipelines, TFS 2017 and newer
icon Service Fabric Compose Deploy task - Service Fabric Compose Deploy Deployment task Azure Pipelines, Azure DevOps Server 2019
icon SSH Deployment task - SSH task for use in the jobs of all of your build and release pipelines Azure Pipelines, TFS 2017 and newer
icon Windows Machine File Copy task - Copy application files and other artifacts to remote Windows machines Azure Pipelines, TFS 2015 RTM and newer
icon WinRM SQL Server DB Deployment task - Deploy to SQL Server Database using DACPAC or SQL scripts Azure Pipelines

Tool

Task Versions
icon Docker Installer task - Install the Docker CLI on an agent machine Azure Pipelines, Azure DevOps Server 2019
icon Go Tool Installer task - Finds or downloads a specific version of the Go tool into the tools cache and adds it to the PATH Azure Pipelines
icon Helm installer task - Install helm on an agent machine Azure Pipelines
icon Java Tool Installer task - Change the version of Java Azure Pipelines
icon Kubectl installer task - Install kubectl on an agent machine Azure Pipelines
icon Node.js Tool Installer task - Find, download, and cache a specified version of Node.js and add it to the PATH Azure Pipelines
icon NuGet Tool Installer task - Find, download, and cache a specified version of NuGet and add it to the PATH Azure Pipelines
icon Use .NET Core task - Acquires a specific version of .NET Core from the internet or the tools cache and adds it to the PATH Azure Pipelines
icon Use Python Version task - Select a version of Python to run on an agent and optionally add it to PATH Azure Pipelines
icon Use Ruby Version task - Select a version of Ruby to run on an agent and optionally add it to PATH Azure Pipelines
icon Visual Studio Test Platform Installer task - Acquires the test platform from nuget.org or the tools cache and can allow you to run tests and collect diagnostic data 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'm having problems. How can I troubleshoot them?

See Troubleshoot Build and Release.

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.