Package jenkins.mvn

Class FilePathSettingsProvider

All Implemented Interfaces:
ExtensionPoint, Describable<SettingsProvider>

public class FilePathSettingsProvider extends SettingsProvider
Since:
1.491
Author:
Nicolas De Loof, Dominik Bartholdi (imod)
  • Constructor Details

    • FilePathSettingsProvider

      @DataBoundConstructor public FilePathSettingsProvider(String path)
  • Method Details

    • 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.