Libraries for writing Visual Studio Team Services build and deployment tasks
Reference examples of our in the box tasks are here
Cross platform tasks are written in Typescript. It is the preferred way to write tasks once.
Step by Step: Create Task
Documentation: Typescript API
Guidance: Finding Files, Minimum agent version
The ShellScript Task and the XCode Task are good examples.
Once:
$ cd node
$ npm install
Build and Test:
$ npm test
Set environment variable TASK_TEST_TRACE=1 to display test output.