code: public static String getSettingsRemotePath(GlobalSettingsProvider provider, AbstractBuild<?, ?> build, TaskListener listener) {
          FilePath fp = getSettingsFilePath(provider, build, listener);
          return fp == null ? null : fp.getRemote();
      }
docs: Convenience method handling all <code>null</code> checks. Provides the path on the (possible) remote settings file.
  
  @param provider
  the provider to be used
  @param build
  the active build
  @param listener
  the listener of the current build
  @return the path to the global settings.xml