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