Skip to content

Clebam/vsts-tasks

 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 71.9%
  • PowerShell 25.3%
  • JavaScript 1.6%
  • HTML 0.6%
  • Shell 0.4%
  • SQLPL 0.1%
  • Other 0.1%