Package hudson.plugins.setenv
Class SetEnvBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
org.jenkinsci.plugins.envinject.migration.EnvInjectMigrationBuildWrapper
hudson.plugins.setenv.SetEnvBuildWrapper
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
- Author:
- Gregory Boissinot
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEnvInjectBuildWrapper
(BuildableItemWithBuildWrappers originalItem) Gets the new object with the mapped fieldssetUp
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SetEnvBuildWrapper
public SetEnvBuildWrapper()
-
-
Method Details
-
getEnvInjectBuildWrapper
public EnvInjectBuildWrapper getEnvInjectBuildWrapper(@NonNull BuildableItemWithBuildWrappers originalItem) Description copied from class:EnvInjectMigrationBuildWrapper
Gets the new object with the mapped fields- Specified by:
getEnvInjectBuildWrapper
in classEnvInjectMigrationBuildWrapper
- Parameters:
originalItem
- Original item- Returns:
- an EnvInjectBuildWrapper object
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException - Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-