public interface EnvironmentAction
extends hudson.model.Action
DefaultStepContext.get(java.lang.Class<T>)
on EnvVars
after amendment by EnvironmentExpander.getEffectiveEnvironment(hudson.EnvVars, hudson.EnvVars, org.jenkinsci.plugins.workflow.steps.EnvironmentExpander)
.Modifier and Type | Interface and Description |
---|---|
static interface |
EnvironmentAction.IncludingOverrides
Optional extension interface that allows the overrides to be distinguished.
|
Modifier and Type | Method and Description |
---|---|
hudson.EnvVars |
getEnvironment()
Gets the complete global environment for a build, including both
Run.getEnvironment(TaskListener) and any EnvironmentAction.IncludingOverrides.getOverriddenEnvironment() . |
hudson.EnvVars getEnvironment() throws IOException, InterruptedException
Run.getEnvironment(TaskListener)
and any EnvironmentAction.IncludingOverrides.getOverriddenEnvironment()
.IOException
InterruptedException
Copyright © 2016–2018. All rights reserved.