I'm trying to run a set of automated tests across a system which is half Windows and half Linux. I have two EC2 images, one for each operating system, and I have defined a cloud profile which starts an instance of each type when a build is kicked off (by entering two image ids in the 'Agent images to run' section) . My problem is that I need to configure each machine to talk to the other machine in the pair, which involves editing a config file on each machine to include the hostname of the other machine. I can see there's a parameter for the hostname of the current agent (%teamcity.agent.name%) but is there any way for TeamCity to share the information about both agents in the build configuration?
Thanks in advance