Package jenkins.mvn

Class DefaultSettingsProvider

All Implemented Interfaces:
ExtensionPoint, Describable<SettingsProvider>

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

    • DefaultSettingsProvider

      @DataBoundConstructor public DefaultSettingsProvider()
  • Method Details

    • supplySettings

      public FilePath supplySettings(AbstractBuild<?,?> project, 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.