public File getUpgradesDir() {
    return upgradesDir;
  }
Obtain the upgrades directory path.

@return upgrades directory path
ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceDirectory.java