command = config.getGerritCmdBuildFailed();
}
int verified = 0;
int codeReview = 0;
Notify notifyLevel = Notify.ALL;
if (memoryImprint.getEvent().isScorable()) {
verified = getMinimumVerifiedValue(memoryImprint, onlyCountBuilt);
codeReview = getMinimumCodeReviewValue(memoryImprint, onlyCountBuilt);
notifyLevel = getHighestNotificationLevel(memoryImprint, onlyCountBuilt);
}
Map<String, String> parameters = createStandardParameters(null, memoryImprint.getEvent(),
codeReview, verified, notifyLevel.name());
parameters.put("BUILDS_STATS", createBuildsStats(memoryImprint, listener, parameters));
AbstractBuild build = null;
Entry[] entries = memoryImprint.getEntries();
if (entries.length > 0 && entries[0].getBuild() != null) {