whatisgithub

What is azure-pipelines-tasks?

microsoft/azure-pipelines-tasks — explained in plain English

Analysis updated 2026-05-18

3,632TypeScriptAudience · ops devopsComplexity · 4/5Setup · moderate

In one sentence

The official source code for the built-in tasks (build, test, deploy steps) that ship with Microsoft's Azure Pipelines and Team Foundation Server.

Mindmap

mindmap
  root((azure-pipelines-tasks))
    What it does
      Built-in pipeline tasks
      Build test deploy steps
      Reference implementation
    Tech stack
      TypeScript
      PowerShell
      Bash
      Node.js
    Use cases
      Study existing tasks
      Write custom tasks
      Package as extension
      Report bugs
    Audience
      DevOps engineers
      Pipeline authors

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Look up how a built-in Azure Pipelines task, such as running MSBuild or VSTest, is implemented.

USE CASE 2

Learn the pattern for writing a custom pipeline task that reads credentials or writes progress back to Azure Pipelines.

USE CASE 3

Report a bug or contribute a fix to one of the existing pipeline tasks.

USE CASE 4

Package a custom task into an Azure DevOps extension for the Microsoft marketplace.

What is it built with?

TypeScriptPowerShellBashNode.js

How does it compare?

microsoft/azure-pipelines-taskscinnyapp/cinnyopensumi/core
Stars3,6323,6343,630
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasymoderate
Complexity4/52/54/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Writing and testing a custom task requires an Azure Pipelines or TFS account and the TFS Cross Platform Command Line utility.

No license terms are stated in the README.

So what is it?

Azure Pipelines is Microsoft's service for automating software builds, tests, and deployments. When a developer pushes code, Azure Pipelines can automatically run a series of steps, such as compiling the code, running tests, and publishing the result. Each individual step in that process is called a task. This repository contains the source code for all the built-in tasks that come included with Azure Pipelines and Team Foundation Server, which is the on-premise version of the same system. Examples of tasks include running a script, building a .NET project, running tests with a specific test runner, or deploying to a cloud service. The repository is published openly by Microsoft both as a reference and as a way for the community to report bugs and suggest improvements. For most situations where you need something custom in your pipeline, Microsoft recommends using the existing script-running tasks, such as the PowerShell or Bash tasks, rather than writing a new one. But if you need something that integrates more deeply, like reading build credentials or writing structured progress records back to the Azure Pipelines interface, you can write your own task. The repository serves as a working example of how that is done. Custom tasks you write can be uploaded to Azure Pipelines using a command-line tool Microsoft provides, or packaged into an Azure DevOps extension and shared through Microsoft's marketplace. The repository accepts contributions and bug reports, and security issues should be sent to Microsoft's security team by email rather than filed publicly.

Copy-paste prompts

Prompt 1
Show me the structure of an Azure Pipelines task and explain how it reports progress back to the pipeline.
Prompt 2
Walk me through writing a custom Azure Pipelines task instead of using the built-in Bash or PowerShell task.
Prompt 3
How do I package a custom Azure Pipelines task into an Azure DevOps extension?
Prompt 4
Explain how the TFS Cross Platform Command Line utility is used to upload a custom task.

Frequently asked questions

What is azure-pipelines-tasks?

The official source code for the built-in tasks (build, test, deploy steps) that ship with Microsoft's Azure Pipelines and Team Foundation Server.

What language is azure-pipelines-tasks written in?

Mainly TypeScript. The stack also includes TypeScript, PowerShell, Bash.

What license does azure-pipelines-tasks use?

No license terms are stated in the README.

How hard is azure-pipelines-tasks to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is azure-pipelines-tasks for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.