Build and Release Tasks for Visual Studio Team Services and Team Foundation Server
Switch branches/tags
Clone or download
Failed to load latest commit information.
Tasks Fix for install ssh key task (#8283) Sep 20, 2018
Tests-Legacy Users/jahquin/cp test fixes (#7941) Aug 6, 2018
Tests Added EditableOptions true for alertRule. (#6549) Feb 28, 2018
ci Adding Junit report to publish test results to VSTS (#7644) Jul 11, 2018
definitions Remove the checked in ios-signing-common definition. Apr 17, 2018
docs remove packaging from contribute which is internal only Sep 4, 2018
templates/ci Add support for Xcode10 in the task (#8364) Sep 19, 2018
.gitattributes Switch to svg template icons. (#7996) Aug 9, 2018
.gitignore Update remaining task folders that didn't have major version in name (#… May 23, 2018
.vsts-ci.yml yaml templates Apr 12, 2018
Compress-Tasks.ps1 Layout changes for major version locking Oct 24, 2016
Expand-Tasks.ps1 Layout changes for major version locking Oct 24, 2016
LICENSE.txt MIT license Dec 6, 2014 Fix badge links. (#8037) Aug 14, 2018
generate-third-party-notice.js Recurse into node_module directories for package (produces duplicates) ( Aug 2, 2018
gulpfile.js Provided support for laying out aggregated zip without nupkg creation. ( Dec 1, 2016 Updated issues template to explicitly request for debug logs (#8229) Sep 10, 2018
make-options.json Revert "Removed XamarinComponentRestoreV0 and XcodePackageiOSV0 (#8257)… Sep 13, 2018
make-util.js change unzip logic Aug 7, 2018
make.js added custom feed and net share support (#7737) Jul 17, 2018
package-lock.json Updating Maven task to use new locator server calls for authenticated… Aug 31, 2018
package.json change unzip logic Aug 7, 2018
taskbanner.png Updated task banner to use new icons. Oct 29, 2015
tasks.png tasks image Feb 11, 2015
tsconfig.json Fix root tsconfig. Dec 11, 2017
tslint.json added custom feed and net share support (#7737) Jul 17, 2018

Visual Studio Team Services Tasks



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.


Build & Test
Win Windows Build & Test
macOS macOS Build & Test
Linux Linux Build & Test

How to Use Tasks

See the documentation for Continuous integration and deployment.

Writing Tasks

If you need custom functionality in your build/release, it is usually simpler to use the existing script running tasks such as the PowerShell or Shell Script tasks. Writing a new task may be appropriate if you need deeper integration or reusability in many build definitions

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 a Visual Studio Team Services extension. See this tutorial for how to package tasks inside an extension.


We take contributions. Read here how to contribute.