Skip to content

VHD Image

Dmitry Tretyakov edited this page Jun 22, 2018 · 2 revisions

This image type allows creating new TeamCity cloud build agents by using VHD images to start a new Azure VMs.

Image

While starting TeamCity will allocated VHD disk for the cloud build agents in the vhds containers of storage account where was placed source VHD image.

To use VHD image type you need to create a new Linux or Windows VM with VHD disk, install required build tools and TeamCity build agent on it. Then follow instructions to generalize and capture VHD from it for Linux and Windows machines.

Hint: after installing TeamCity build agent, set serverUrl pointing to your TeamCity server URL in buildagent.properties file, start and let TeamCity build agent to update it's distribution and the list of tools and plugins. It will improve initial agent startup time.

Hint: enabling Reuse allocated virtual machines will improve startup time since cloud build agent will be deployed once and it's VM will be reused during subsequent runs.

You could use the following instructions to capture managed images:

Clone this wiki locally