Enables TeamCity cloud integration with Microsoft Azure and allows virtual machines usage to scale the pool of build agents.
More details about TeamCity Azure Resource Manager plugin can be found in the following blog post.
Plugin supports following types of images:
- Managed images
- VHD images
- ARM templates
- Docker images
You can download the plugin build and install it as an additional plugin for TeamCity 10.x+.
To configure Azure Resource Manager cloud profile, refer to the wiki pages.
To retrieve server configuration details, the TeamCity build agent needs to read the following files:
%SYSTEMDRIVE%\AzureData\CustomData.bin
on Windows/var/lib/waagent/ovf-env.xml
in Linux
Please check that user under which TeamCity build agent is running has read access permissions to the mentioned files.
To resolve it please add the following line in the buildagent.properties file:
azure.instance.name=<agent_name>
where <agent_name>
should coincide with the vm name of running cloud instance.
Container instance-based images are reporting problem "Microsoft.ContainerInstance is not available in xxx region"
You need to register "Microsoft.ContainerInstance" provider in your subscription.
To investigate the problems it worth look at the teamcity-agent.log
agent log file and teamcity-clouds.log
server log file.
You could file an issue in the TeamCity tracker and privately attach these file for investigation by TeamCity team.
Apache 2.0
Please feel free to send a PR or file an issue in the TeamCity issue tracker.