Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vsts-task-lib

Microsoft1.6kMITdeprecated2.7.0TypeScript support: included

vsts-task-lib is deprecated. Use azure-pipelines-task-lib instead.

VSTS Task SDK

vsts, xplat, agent, build

readme

VSTS DevOps Task SDK

Libraries for writing Visual Studio Team Services build and deployment tasks

VSTS

Reference examples of our in the box tasks are here

TypeScript Tasks

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

NPM version

Step by Step: Create Task

Documentation: TypeScript API, task JSON schema

Guidance: Finding Files, Minimum agent version, Proxy, Certificate

Reference Examples

The ShellScript Task and the XCode Task are good examples.

Contributing

Node

Once:

$ cd node
$ npm install

Build and Test:

$ npm test

Set environment variable TASK_TEST_TRACE=1 to display test output.

Third Party Notices

To generate/update third party notice file run:

$ node generate-third-party-notice.js