In previous part we were I was describing the TFS 2015 build system and how to create your first build template. Today, I will describe how to prepare environment, where the build will be done.
To run the own build process you need some PC, where you have all needed to do the build. You can choose to use some VPC, your workstation or another server, it does not matter. What you need for the build:
In case of NAV, you cannot use the Build agents available as part of the Team Services, because you need to install NAV on the machine. Thus it must be your own PC/VPC, but it does not matter if on prem or somewhere in cloud. It could be used together with Team Services.
I think that I do not need to describe how to create clean VPC with all the prerequisities, except the VSO Agent.
When all is prepared and you need to install the VSO Agent on your build server, all you need is to open your TFS web portal and navigate into the Administration of your server, Agent pools tab, and select Download agent.
Download the agent, expand in somewhere and run the ConfigureAgent.cmd as admin. There you need to put few values to correctly configure the agent: