runtimeName = de.getRuntimeName();
hash = de.getSha1Hash();
}
else if (model.getDeployment(deploymentName) == null) {
// Deployment is new to the domain; add it
DomainDeploymentAdd dda = new DomainDeploymentAdd(deploymentName, runtimeName, hash, false);
au.domainUpdates.add(new DomainUpdate(dda, model, true));
}
// Now add to serve groups
ServerGroupDeploymentAdd sgda = new ServerGroupDeploymentAdd(deploymentName, runtimeName, hash, false);
addServerGroupUpdates(plan, au, sgda, model);