Containing the official pipeline extension for running VSTeam module on Azure DevOps
To build the solution locally and test it with the tfx-cli you need follow the next steps.
- clone repo
- install node version 10.18.0. It has to version 10.18.0 because something is not working with the package sync-request and with the azure devops library. If you need to use multiple versions of node js, then consider using nvm.
- from the root source directory run
npm install
- from the source directory vsteam-azuredevops/V1 of the pipeline task run
npm install
- from the root source directory run
npm test
- install tfx-cli
npm i -g tfx
- run
tfx extension create
You can install the task directly and use it without publishing it to the Marketplace or install it from there of published.
- login into your Azure DevOps organization with
tfx login
(you can use basic or PAT token to login) - run
tfx build tasks upload --task-path '.\vsteam-azuredevops\V1\'
- to remove the task you can run
tfx build tasks delete --task-id a91c1d78-c448-4201-be40-fa2e2a0d222c