I got the following error when syncinc a build to a new agent (from the agent debug log):
[AgentBuildHelper] InitialiseWorkspaceOnAgent >> Exception: An error occurred while syncing files from the server to the agent. Details: Exception: ValidationException
Message: Variable name already exists.
Stack Trace: at Continua.Shared.Variables.VariableNamespace.Add(String name, String desc, String value, ElementType type, Boolean maskValue, Boolean availableAsEnv, Boolean constant, Boolean expandExpressions)
at Continua.Shared.Variables.VariableUtilities.CreateEnvironmentNamespace()
at Continua.Shared.Variables.VariableUtilities.SerialiseEnvironmentNamespace(String workspacePath)
at Continua.Modules.Builds.Agent.AgentBuildHelper.CreateVariableNamespaces()
at Continua.Modules.Builds.Agent.AgentBuildHelper.InitialiseWorkspaceOnAgent(IAgentCallbackProxy proxy, TransportContextDTO source, Guid callId, Boolean requeued)
Any idea what could be causing this?