/vsts-tasks

Build and Release Tasks for Visual Studio Team Services and Team Foundation Server

Primary LanguageTypeScriptMIT LicenseMIT

Visual Studio Team Services Tasks


![Tasks](/taskbanner.png?raw=true "Tasks")

Overview

This repo contains the tasks that are provided out of the box with Visual Studio Team Services and Team Foundation Server.

This provides open examples on how we write tasks which will help you write other tasks which can be uploaded to your account or server. See writing tasks below.

Status

Build & Test
Win Windows Build & Test
OSX OSX Build & Test
Ubuntu14 Ubuntu 14.04 Build & Test

How to Use Tasks

Documentation is here

Writing Tasks

Before writing a task, consider simply customizing your build using the script running tasks such as PowerShell or shell scripts. That is often the most appropriate path.

Tasks are simply tool runners. They know how to run MSBuild, VSTest, etc... in a first class way and handle return codes, how to treat std/err out, and how to write timeline records based on expected output. They also get access to credentials to write back to TFS/Team Services.

For uploading custom tasks to VSTS use the TFS Cross Platform Command Line utility.

Tasks can also be deployed with an Visual Studio Team Service Extension. See this tutorial how to package tasks inside an extension.

Contributing

We take contributions. Read here how to contribute.