Wednesday 4 May 2016

Configure On-Prem Agent for Visual Studio Team Services

To configure an on premise agent for VS Team Services, follow the steps specified below.

Navigate to VS Team Services admin mode, and go to control panel. select the Agent Pool tab.image

To setup a new pool for On Premise agents click New pool. Provide appropriateimage


Go to the on premise machine and navigate to VS Team services Control Panel Agent pools tab. Click on Download agent.image


Extract the downloaded zip file.image

Run a command prompt as Administrator, execute ConfigureAgent.cmdimage

Provide a name for agent, VS Team Services url, agent pool and a local working directory.image

A popup will ask for the credentials for the VS Team Services account. Once provided agent will be configured.image


In the DefaultCollection Agent queues tab you can see the on premise agent availability. It is visible on Agent pools tab as well.image


In a build definition you can set new agent pool.image



azureps above is demand for azure powershell. Agent version should be greater than 1.87. You can setup Azure PowerShell in your agent and then add the capability to agent. This then can be used as a demand in build or release definition.image

No comments:

Popular Posts