if (clientConf.isIncludeEnvVars()) {
Properties envProperties = new Properties();
envProperties.putAll(clientConf.getAllProperties());
envProperties = BuildInfoExtractorUtils.getEnvProperties(envProperties, clientConf.getLog());
for (Map.Entry<Object, Object> envProp : envProperties.entrySet()) {
builder.addProperty(envProp.getKey(), envProp.getValue());
}
}
Build build = builder.build();
String contextUrl = clientConf.publisher.getContextUrl();
String username = clientConf.publisher.getUsername();