Map<String, String> environments =
getEnvironments( profile, releaseManager.getDefaultBuildagent( projectId ) );
try
{
releaseId = releaseManager.releasePerformFromScm( projectId, goals, arguments, useReleaseProfile,
repository, scmUrl, scmUsername, scmPassword, scmTag,
scmTagBase, environments, getPrincipal() );
}
catch ( BuildAgentConfigurationException e )
{