public Map<String, String> getEnvironments( int buildDefinitionId, String installationType )
throws ContinuumException
{
try
{
MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
return client.getEnvironments( buildDefinitionId, installationType );
}
catch ( MalformedURLException e )
{
log.error( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
throw new ContinuumException( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );