Package jenkins.mvn

Class FilePathSettingsProvider

    • Constructor Detail

      • FilePathSettingsProvider

        @DataBoundConstructor
        public FilePathSettingsProvider​(String path)
    • Method Detail

      • getPath

        public String getPath()
      • supplySettings

        public FilePath supplySettings​(AbstractBuild<?,​?> build,
                                       TaskListener listener)
        Description copied from class: SettingsProvider
        Configure maven launcher argument list with adequate settings path. Implementations should be aware that this method might get called multiple times during a build.
        Specified by:
        supplySettings in class SettingsProvider
        Returns:
        the filepath to the provided file. null if no settings will be provided.