public static String getSettingsRemotePath(SettingsProvider settings, AbstractBuild<?, ?> build, TaskListener listener) {
        FilePath fp = getSettingsFilePath(settings, build, listener);
        return fp == null ? null : fp.getRemote();
    }
public static String getSettingsRemotePath ( SettingsProvider settings , AbstractBuild < ? , ? > build , TaskListener listener ) { FilePath fp = getSettingsFilePath ( settings , build , listener ) ; return fp == null ? null : fp . getRemote ( ) ; }
Convenience method handling all <code>null</code> checks. Provides the path on the (possible) remote settings file.

@param settings
the provider to be used
@param build
the active build
@param listener
the listener of the current build
@return the path to the settings.xml