-
Load source code
-
Open console in root folder
-
Install tfx-cli tool (npm should be preinstalled on local machine)
> npm i -g tfx-cli
-
Login into your VSTS account
> tfx login
- Service URL:
https://<account-name>.visualstudio.com/DefaultCollection
- Personal access token: see instuction how to generate new
- Service URL:
-
Upload Task to VSTS instance
> tfx build tasks upload --task-path .\Tasks\CreateRelease
-
Open any release definition and add new task to
Agent Phase
- Set task options