Interface EnvironmentAction
- All Superinterfaces:
Action,ModelObject
- All Known Subinterfaces:
EnvironmentAction.IncludingOverrides
A run action which reports environment variables.
If present, will be used from
DefaultStepContext.get(java.lang.Class<T>) on EnvVars
after amendment by EnvironmentExpander.getEffectiveEnvironment(hudson.EnvVars, hudson.EnvVars, org.jenkinsci.plugins.workflow.steps.EnvironmentExpander).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceOptional extension interface that allows the overrides to be distinguished. -
Method Summary
Modifier and TypeMethodDescriptionGets the complete global environment for a build, including bothRun.getEnvironment(TaskListener)and anyEnvironmentAction.IncludingOverrides.getOverriddenEnvironment().Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
getEnvironment
Gets the complete global environment for a build, including bothRun.getEnvironment(TaskListener)and anyEnvironmentAction.IncludingOverrides.getOverriddenEnvironment().- Throws:
IOExceptionInterruptedException
-