Package jenkins.mvn
Class DefaultGlobalSettingsProvider
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GlobalSettingsProvider>
-
- jenkins.mvn.GlobalSettingsProvider
-
- jenkins.mvn.DefaultGlobalSettingsProvider
-
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalSettingsProvider>
public class DefaultGlobalSettingsProvider extends GlobalSettingsProvider
- Since:
- 1.491
- Author:
- Nicolas De Loof, Dominik Bartholdi (imod)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultGlobalSettingsProvider.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DefaultGlobalSettingsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePathsupplySettings(AbstractBuild<?,?> project, TaskListener listener)configure maven launcher argument list with adequate settings path-
Methods inherited from class jenkins.mvn.GlobalSettingsProvider
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:GlobalSettingsProviderconfigure maven launcher argument list with adequate settings path- Specified by:
supplySettingsin classGlobalSettingsProvider- Parameters:
project- the build to provide the settings for- Returns:
- the filepath to the provided file.
nullif no settings will be provided.
-
-