Blog Post

VSTS - Associating build agent

Tuesday, October 25, 2016 1:54 PM

Steps

Download the agent.

 

Create PAT

Installation

in order to see what options you have execute the command

config.cmd --help

that will give you many options each for windows and unix

I have chosen for my installation following:

config.cmd --unattended --url https://myaccount.visualstudio.com --auth PAT --token <token> --pool default --agent myagent

Now I can replace specific arguments to following command

config.cmd --unattended --url https://pavelsvarc.visualstudio.com --auth PAT --token thdfzula4b5co4nomissingguhwn7awmnq --pool default --agent AzureAgent

And run the command.

NOTE: Make sure you have rights to do so.

successful command

Blog
Products
Error pages
Links and tools