We've just expanded our TeamCity footprint so that we now have multiple agents running on separate servers (they all used to be on the same server).
The issue we are running into is during a build that has multiple steps, where the last step depends on the artifacts that have been created by a previous step. It seems that the same agent is not used for all of the build steps. Therefore when Build Agent 1 creates an artifact in C:\BuildAgent\work\785e028597a0a18d\src\\obj\octopacked, the last step cant seem to find it because the last step seems to run on the other agent, Build agent 2, which of course doesnt have that artifact on that server.
Do I just need to use a UNC path for the artifacts instead, or am I missing something here? I thought that one build configuration would always use the same Build Agent, but it seems that is not the case.
Any help would be greatly appreciated.
Regards,
dotdev