Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 2.38 KB

README.md

File metadata and controls

41 lines (26 loc) · 2.38 KB

VSTS DevOps Task SDK

Libraries for writing Visual Studio Team Services build and deployment tasks

Reference examples of our in the box tasks are here

Status

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

Highlights

  • Breaks coupling with agent: This lib is decoupled and ships with the task and the agent is just an engine to run tasks.
  • Testability: Aims to offer the ability to actually run your task scripts under all scenarios without a server or an agent.
  • Localization: The lib provides a mechanism for storing your localized strings with your task, and loading the correct set at run-time.
  • Consistent API: The TypeScript and PowerShell libs are largely consistent. They only differ where it makes sense (being true to the platform).
  • Tracing for free: Tracing has been built-in to many of the commands. Use the SDK and get some debug tracing for free.

Typescript Tasks

Cross platform tasks are written in Typescript. It is the preferred way to write tasks once.

NPM version VSTS

Documentation: Creating Node Tasks with the Typescript API

PowerShell Tasks

A task which automates Powershell technologies can be written with our Powershell SDK. These only run on Windows.

Documentation: PowerShell API