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.
Documentation: Typescript API
A task which automates Powershell technologies can be written with our Powershell SDK. These only run on Windows.
Documentation: PowerShell API
Once:
$ cd node
$ npm install
$ sudo npm install gulp -g
Build:
$ cd node
$ gulp
Test:
$ cd node
$ gulp test
Set environment variable TASK_TEST_TRACE=1 to display test output.
Once:
$ cd powershell
$ npm install
$ sudo npm install gulp -g
Build:
$ cd powershell
$ gulp
Test:
$ cd powershell
$ gulp test
Set environment variable TASK_TEST_TRACE=1 to display test output.