Package jenkins.mvn
Class DefaultGlobalSettingsProvider
java.lang.Object
jenkins.mvn.GlobalSettingsProvider
jenkins.mvn.DefaultGlobalSettingsProvider
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalSettingsProvider>
- 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 pathMethods inherited from class jenkins.mvn.GlobalSettingsProvider
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
-
DefaultGlobalSettingsProvider
@DataBoundConstructor public DefaultGlobalSettingsProvider()
-
-
Method Details
-
supplySettings
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.
-