Package jenkins.mvn
Class DefaultSettingsProvider
java.lang.Object
jenkins.mvn.SettingsProvider
jenkins.mvn.DefaultSettingsProvider
- All Implemented Interfaces:
ExtensionPoint,Describable<SettingsProvider>
- Since:
- 1.491
- Author:
- Nicolas De Loof, Dominik Bartholdi (imod)
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsupplySettings(AbstractBuild<?, ?> project, TaskListener listener) Configure maven launcher argument list with adequate settings path.Methods inherited from class jenkins.mvn.SettingsProvider
getSettingsFilePath, getSettingsRemotePath, parseSettingsProvider, parseSettingsProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
DefaultSettingsProvider
@DataBoundConstructor public DefaultSettingsProvider()
-
-
Method Details
-
supplySettings
Description copied from class:SettingsProviderConfigure 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:
supplySettingsin classSettingsProvider- Returns:
- the filepath to the provided file.
nullif no settings will be provided.
-