ReleaseDescriptor descriptor = prepareTask.getDescriptor();
ReleaseEnvironment releaseEnvironment = new DefaultReleaseEnvironment();
releaseEnvironment.setSettings(settings);
ReleaseResult result = releaseManager.prepareWithResult( descriptor, releaseEnvironment, new ArrayList(), false, false,
prepareTask.getListener() );
//override to show the actual start time
result.setStartTime( getStartTime() );
if ( result.getResultCode() == ReleaseResult.SUCCESS )
{
continuumReleaseManager.getPreparedReleases().put( prepareTask.getReleaseId(), descriptor );
}
continuumReleaseManager.getReleaseResults().put( prepareTask.getReleaseId(), result );