Package jenkins.mvn
Class DefaultSettingsProvider
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<SettingsProvider>
-
- jenkins.mvn.SettingsProvider
-
- jenkins.mvn.DefaultSettingsProvider
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<SettingsProvider>
public class DefaultSettingsProvider extends SettingsProvider
- Since:
- 1.491
- Author:
- Nicolas De Loof, Dominik Bartholdi (imod)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSettingsProvider.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DefaultSettingsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePath
supplySettings(AbstractBuild<?,?> project, TaskListener listener)
Configure maven launcher argument list with adequate settings path.-
Methods inherited from class jenkins.mvn.SettingsProvider
getSettingsFilePath, getSettingsRemotePath, parseSettingsProvider
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
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 classSettingsProvider
- Returns:
- the filepath to the provided file.
null
if no settings will be provided.
-
-