}
}
catch ( MalformedURLException e )
{
log.error( "Invalid build agent url " + buildAgentUrl );
throw new ContinuumReleaseException( "Invalid build agent url " + buildAgentUrl );
}
catch ( Exception e )
{
log.error( "Failed to get all releases in progress ", e );
throw new ContinuumReleaseException( "Failed to get all releases in progress ", e );
}
}
}
releasesInProgress = releasesMap;
}
try
{
// call reload in case we disable a build agent
distributedBuildManager.reload();
}
catch ( Exception e )
{
throw new ContinuumReleaseException( e.getMessage(), e );
}
return releases;
}