{
if ( distributedBuildManager.isAgentAvailable( buildAgentUrl ) )
{
SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
buildAgentUrl );
return client.processProject( projectId, pomFilename, autoVersionSubmodules );
}
// call reload in case we disable the build agent
distributedBuildManager.reload();