public int getStackUpgradeAutoRetryTimeoutMins() {
    Integer result = NumberUtils.toInt(getProperty(STACK_UPGRADE_AUTO_RETRY_TIMEOUT_MINS));
    return result >= 0 ? result : 0;
  }
During stack upgrade, can auto-retry failures for up to x mins. This is useful to improve the robustness in unstable environments.
Suggested value is 0-30 mins.
@return
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java