Build and Release Tasks for Visual Studio Team Services and Team Foundation Server
TypeScript PowerShell JavaScript HTML Shell SQLPL Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Tasks Fixed Kubernetes task does not use specified version issue Aug 16, 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 Fix badge links. (#8037) Aug 14, 2018
templates/ci YAML template tweaks Aug 16, 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
README.md 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
issue_template.md add an issue template (#5362) Oct 9, 2017
make-options.json Universal build tasks (#7914) Aug 6, 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 Support for AzureRm SPN with certificate for Azure PowerShell based t… Aug 1, 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

README.md

Visual Studio Team Services Tasks

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
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.

Contributing

We take contributions. Read here how to contribute.