Blog Post

VSTS - Associating build agent

Tuesday, October 25, 2016 1:54 PM


Download the agent.


Create PAT


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 --auth PAT --token <token> --pool default --agent myagent

Now I can replace specific arguments to following command

config.cmd --unattended --url --auth PAT --token thdfzula4b5co4nomissingguhwn7awmnq --pool default --agent AzureAgent

And run the command.

NOTE: Make sure you have rights to do so.

successful command

successful command