map.put( DistributedReleaseUtil.KEY_LOCAL_REPOSITORY_LAYOUT, repository.getLayout() );
}
try
{
SlaveBuildAgentTransportClient client = new SlaveBuildAgentTransportClient( new URL( buildAgentUrl ) );
String releaseId =
client.releasePerformFromScm( goals, arguments, useReleaseProfile, map, scmUrl, scmUsername,
scmPassword, scmTag, scmTagBase, environments );
addReleaseInProgress( releaseId, "perform", projectId );
}
catch ( MalformedURLException e )