Map<String, ArtifactDeploymentStatusTracker.DeploymentState> applicationStates = tracker.getApplicationDeploymentStatusTracker().getDeploymentStates();
for (String applicationName : applicationStates.keySet())
{
Application application = deploymentService.findApplication(applicationName);
applicationsPerDomain.put(application.getDomain().getArtifactName(), applicationName);
}
String message;
if (!applicationsPerDomain.isEmpty())