}
String agentVersion = clientConf.info.getAgentVersion();
if (StringUtils.isBlank(agentVersion)) {
agentVersion = buildAgent.getVersion();
}
builder.agent(new Agent(agentName, agentVersion));
LicenseControl licenseControl = new LicenseControl(clientConf.info.licenseControl.isRunChecks());
String notificationRecipients = clientConf.info.licenseControl.getViolationRecipients();
if (StringUtils.isNotBlank(notificationRecipients)) {
licenseControl.setLicenseViolationsRecipientsList(notificationRecipients);
}