{
try
{
MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient( new URL(
buildAgentConfigurationService.getContinuumServerUrl() ) );
client.prepareBuildFinished( context, ContinuumBuildAgentUtil.getBuildAgentUrl( context ) );
}
catch ( MalformedURLException e )
{
throw new ContinuumException(
"Invalid Continuum Server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );