Uses of Class
hudson.EnvVars
-
Packages that use EnvVars Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.slaves Code related to agents.hudson.tasks hudson.tools hudson.util Other miscellaneous utility codejenkins.model jenkins.tasks jenkins.tasks.filters jenkins.tasks.filters.impl -
-
Uses of EnvVars in hudson
Methods in hudson that return EnvVars Modifier and Type Method Description static EnvVars
EnvVars. createCookie()
Creates a magic cookie that can be used as the model environment variable when we later kill the processes.static EnvVars
EnvVars. getRemote(hudson.remoting.VirtualChannel channel)
Obtains the environment variables of a remote peer.EnvVars
EnvVars. overrideAll(Map<String,String> all)
Overrides all values in the map by the given map.EnvVars
EnvVars. overrideExpandingAll(Map<String,String> all)
Overrides all values in the map by the given map.Methods in hudson with parameters of type EnvVars Modifier and Type Method Description Launcher
Launcher. decorateByEnv(EnvVars _env)
Returns a decoratedLauncher
that automatically adds the specified environment variables.Constructors in hudson with parameters of type EnvVars Constructor Description EnvVars(EnvVars m)
-
Uses of EnvVars in hudson.model
Methods in hudson.model that return EnvVars Modifier and Type Method Description EnvVars
Computer. buildEnvironment(TaskListener listener)
Creates an environment variable override to be used for launching processes on this node.EnvVars
Job. getCharacteristicEnvVars()
Builds up the environment variable map that's sufficient to identify a process as ours.EnvVars
Run. getCharacteristicEnvVars()
Builds up the environment variable map that's sufficient to identify a process as ours.EnvVars
AbstractBuild. getEnvironment(TaskListener log)
EnvVars
AbstractProject. getEnvironment(Node node, TaskListener listener)
EnvVars
Computer. getEnvironment()
Returns cached environment variables (copy to prevent modification) for the JVM on this computer.EnvVars
Job. getEnvironment(Node node, TaskListener listener)
Creates an environment variable override for launching processes for this project.EnvVars
Run. getEnvironment()
Deprecated.as of 1.305 useRun.getEnvironment(TaskListener)
EnvVars
Run. getEnvironment(TaskListener listener)
Returns the map that contains environmental variables to be used for launching processes for this build.Methods in hudson.model with parameters of type EnvVars Modifier and Type Method Description void
BooleanParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the name/value as an environment variable.default void
EnvironmentContributingAction. buildEnvironment(Run<?,?> run, EnvVars env)
Called byRun
to allow plugins to contribute environment variables.void
FileParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the originalFileName as an environment variable.void
ParametersAction. buildEnvironment(Run<?,?> run, EnvVars env)
void
ParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Adds environmental variables for the builds to the given map.void
PasswordParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
void
RunParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the name/value as an environment variable.void
StringParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the name/value as an environment variable.void
EnvironmentContributor. buildEnvironmentFor(Job j, EnvVars envs, TaskListener listener)
Contributes environment variables used for a job.void
EnvironmentContributor. buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener)
Contributes environment variables used for a build.default void
EnvironmentContributingAction. buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
Deprecated.void
JDK. buildEnvVars(EnvVars env)
Sets PATH and JAVA_HOME from this JDK.void
ParameterValue. buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
Deprecated.UseParameterValue.buildEnvironment(Run, EnvVars)
instead.static Environment
Environment. create(EnvVars envVars)
CreatesEnvironment
implementation that just sets the variables as given in the parameter.T
EnvironmentSpecific. forEnvironment(EnvVars environment)
Returns a specialized copy of T for functioning in the given environment.JDK
JDK. forEnvironment(EnvVars environment)
-
Uses of EnvVars in hudson.slaves
Methods in hudson.slaves that return EnvVars Modifier and Type Method Description EnvVars
EnvironmentVariablesNodeProperty. getEnvVars()
Methods in hudson.slaves with parameters of type EnvVars Modifier and Type Method Description void
EnvironmentVariablesNodeProperty. buildEnvVars(EnvVars env, TaskListener listener)
void
NodeProperty. buildEnvVars(EnvVars env, TaskListener listener)
Creates environment variable override for launching child processes in this node. -
Uses of EnvVars in hudson.tasks
Methods in hudson.tasks with parameters of type EnvVars Modifier and Type Method Description protected void
Maven. buildEnvVars(EnvVars env, Maven.MavenInstallation mi)
Build up the environment variables toward the Maven launch.void
Maven.MavenInstallation. buildEnvVars(EnvVars env)
Maven.MavenInstallation
Maven.MavenInstallation. forEnvironment(EnvVars environment)
void
ArtifactArchiver. perform(Run<?,?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener)
void
Fingerprinter. perform(Run<?,?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener)
-
Uses of EnvVars in hudson.tools
Methods in hudson.tools with parameters of type EnvVars Modifier and Type Method Description void
ToolInstallation. buildEnvVars(EnvVars env)
Expose any environment variables that this tool installation wants the build to see.ToolInstallation
ToolInstallation. translate(Node node, EnvVars envs, TaskListener listener)
Performs a necessary variable/environment/context expansion. -
Uses of EnvVars in hudson.util
Methods in hudson.util that return EnvVars Modifier and Type Method Description abstract EnvVars
ProcessTree.OSProcess. getEnvironmentVariables()
Obtains the environment variables of this process.EnvVars
ProcessTreeRemoting.IOSProcess. getEnvironmentVariables()
-
Uses of EnvVars in jenkins.model
Methods in jenkins.model with parameters of type EnvVars Modifier and Type Method Description void
CoreEnvironmentContributor. buildEnvironmentFor(Job j, EnvVars env, TaskListener listener)
void
CoreEnvironmentContributor. buildEnvironmentFor(Run r, EnvVars env, TaskListener listener)
-
Uses of EnvVars in jenkins.tasks
Methods in jenkins.tasks with parameters of type EnvVars Modifier and Type Method Description default void
SimpleBuildStep. perform(Run<?,?> run, EnvVars env, TaskListener listener)
Run this step, without a workspace context.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)
Run this step.void
SimpleBuildWrapper. setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper.void
SimpleBuildWrapper. setUp(SimpleBuildWrapper.Context context, Run<?,?> build, TaskListener listener, EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper. -
Uses of EnvVars in jenkins.tasks.filters
Methods in jenkins.tasks.filters with parameters of type EnvVars Modifier and Type Method Description void
EnvVarsFilterRule. filter(EnvVars envVars, EnvVarsFilterRuleContext context)
In case the filter detects something that must stop the build, it must throw aEnvVarsFilterException
.void
EnvVarsFilterRuleWrapper. filter(EnvVars envVars, Launcher launcher, TaskListener listener)
-
Uses of EnvVars in jenkins.tasks.filters.impl
Methods in jenkins.tasks.filters.impl with parameters of type EnvVars Modifier and Type Method Description void
RetainVariablesLocalRule. filter(EnvVars envVars, EnvVarsFilterRuleContext context)
-