.on(serverIds); // update only given servers - null means all servers
// start update
log.info("Starting to update application '{}' with rolling restart to '{}' - " +
"this takes time proportinally to session drain timeout - to follow the progress, open browser at {}",
appName, version, centerAddress);
update.execute();
log.info("Servers are now updated");
}
private static String getLatestVersionId(CommandCenter center, String appName) {
ApplicationInfo application = center.getApplication(appName);