Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Strings/resources.resjson Handback. (#316) Feb 23, 2018
dependencies close bug plus eng fix Jul 15, 2016
docs Update docs (#390) Aug 14, 2018
test Find-Match in powershell does not support searching a pattern in a pa… Jul 12, 2018
typings mock-run Sep 1, 2016
README.md Users/stfrance/oss (#331) Mar 23, 2018
ThirdPartyNotice.txt Users/stfrance/oss (#331) Mar 23, 2018
buildutils.js Export addPath May 5, 2017
generate-third-party-notice.js Users/stfrance/oss (#331) Mar 23, 2018
index.ts Created internal.ts for shared private functions, updated toolrunner … Apr 4, 2017
internal.ts Remove unnecessary code. Nov 15, 2017
lib.json Error on multiline secret (#315) Feb 22, 2018
make.js Users/stfrance/oss (#331) Mar 23, 2018
mock-answer.ts Missed a couple mocked commands. Bump patch version (#334) Apr 2, 2018
mock-run.ts Added registerMockExport and noMockTask (#161) Oct 31, 2016
mock-task.ts Revert "Adding telemetry publish command to task lib" Jul 27, 2017
mock-test.ts Updated match to expose optional pattern-root parameter. Nov 29, 2016
mock-toolrunner.ts Update TaskLibAnswers to have all supported commands (#332) Mar 21, 2018
package-lock.json Update docs (#390) Aug 14, 2018
package.json Adding a new API to get the test run system from the publisher tasks. ( Jul 5, 2018
task.ts Adding a new API to get the test run system from the publisher tasks. ( Jul 5, 2018
taskcommand.ts Fix escaping property values. (#311) Feb 8, 2018
toolrunner.ts close stream after setting returncode Mar 27, 2018
tsconfig.json Cleanup for 2x (#207) Feb 17, 2017
typings.json mock-run Sep 1, 2016
vault.ts certificate support (#281) Aug 29, 2017


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

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.




$ 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