Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.38 KB

configvsts.md

File metadata and controls

57 lines (38 loc) · 1.38 KB

Configure Agent for VSTS Service

Key Points

Configure

>> Connect:

Enter server URL > https://contoso.visualstudio.com
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Connecting to server ...
Saving credentials...

>> Register Agent:

Enter agent pool (press enter for default) > 
Enter agent name (press enter for mymachine) > myAgentName
Scanning for tool capabilities.
Connecting to the server.
Successfully added the agent
Enter work folder (press enter for _work) >
2016-05-27 11:03:33Z: Settings Saved.
Enter run agent as service? (Y/N) (press enter for N) >

Run the agent interactively

If you did not run as a service, you can start it interactively by running

win Windows: run.cmd

osx linux OSX/Linux: ./run.sh

$ ./run.sh 
Scanning for tool capabilities.
Connecting to the server.
2016-05-27 11:07:41Z: Listening for Jobs

Replace

If you are asked whether to replace an agent, read details here

Details here

Reconfigure or Unconfigure

Details here