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 EnvVarsEnvVars. createCookie()Creates a magic cookie that can be used as the model environment variable when we later kill the processes.static EnvVarsEnvVars. getRemote(hudson.remoting.VirtualChannel channel)Obtains the environment variables of a remote peer.EnvVarsEnvVars. overrideAll(Map<String,String> all)Overrides all values in the map by the given map.EnvVarsEnvVars. 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 LauncherLauncher. decorateByEnv(EnvVars _env)Returns a decoratedLauncherthat 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 EnvVarsComputer. buildEnvironment(TaskListener listener)Creates an environment variable override to be used for launching processes on this node.EnvVarsJob. getCharacteristicEnvVars()Builds up the environment variable map that's sufficient to identify a process as ours.EnvVarsRun. getCharacteristicEnvVars()Builds up the environment variable map that's sufficient to identify a process as ours.EnvVarsAbstractBuild. getEnvironment(TaskListener log)EnvVarsAbstractProject. getEnvironment(Node node, TaskListener listener)EnvVarsComputer. getEnvironment()Returns cached environment variables (copy to prevent modification) for the JVM on this computer.EnvVarsJob. getEnvironment(Node node, TaskListener listener)Creates an environment variable override for launching processes for this project.EnvVarsRun. getEnvironment()Deprecated.as of 1.305 useRun.getEnvironment(TaskListener)EnvVarsRun. 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 voidBooleanParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)Exposes the name/value as an environment variable.default voidEnvironmentContributingAction. buildEnvironment(Run<?,?> run, EnvVars env)Called byRunto allow plugins to contribute environment variables.voidFileParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)Exposes the originalFileName as an environment variable.voidParametersAction. buildEnvironment(Run<?,?> run, EnvVars env)voidParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)Adds environmental variables for the builds to the given map.voidPasswordParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)voidRunParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)Exposes the name/value as an environment variable.voidStringParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)Exposes the name/value as an environment variable.voidEnvironmentContributor. buildEnvironmentFor(Job j, EnvVars envs, TaskListener listener)Contributes environment variables used for a job.voidEnvironmentContributor. buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener)Contributes environment variables used for a build.default voidEnvironmentContributingAction. buildEnvVars(AbstractBuild<?,?> build, EnvVars env)Deprecated.voidJDK. buildEnvVars(EnvVars env)Sets PATH and JAVA_HOME from this JDK.voidParameterValue. buildEnvVars(AbstractBuild<?,?> build, EnvVars env)Deprecated.UseParameterValue.buildEnvironment(Run, EnvVars)instead.static EnvironmentEnvironment. create(EnvVars envVars)CreatesEnvironmentimplementation that just sets the variables as given in the parameter.TEnvironmentSpecific. forEnvironment(EnvVars environment)Returns a specialized copy of T for functioning in the given environment.JDKJDK. forEnvironment(EnvVars environment) -
Uses of EnvVars in hudson.slaves
Methods in hudson.slaves that return EnvVars Modifier and Type Method Description EnvVarsEnvironmentVariablesNodeProperty. getEnvVars()Methods in hudson.slaves with parameters of type EnvVars Modifier and Type Method Description voidEnvironmentVariablesNodeProperty. buildEnvVars(EnvVars env, TaskListener listener)voidNodeProperty. 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 voidMaven. buildEnvVars(EnvVars env, Maven.MavenInstallation mi)Build up the environment variables toward the Maven launch.voidMaven.MavenInstallation. buildEnvVars(EnvVars env)Maven.MavenInstallationMaven.MavenInstallation. forEnvironment(EnvVars environment)voidArtifactArchiver. perform(Run<?,?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener)voidFingerprinter. 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 voidToolInstallation. buildEnvVars(EnvVars env)Expose any environment variables that this tool installation wants the build to see.ToolInstallationToolInstallation. 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 EnvVarsProcessTree.OSProcess. getEnvironmentVariables()Obtains the environment variables of this process.EnvVarsProcessTreeRemoting.IOSProcess. getEnvironmentVariables() -
Uses of EnvVars in jenkins.model
Methods in jenkins.model with parameters of type EnvVars Modifier and Type Method Description voidCoreEnvironmentContributor. buildEnvironmentFor(Job j, EnvVars env, TaskListener listener)voidCoreEnvironmentContributor. 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 voidSimpleBuildStep. perform(Run<?,?> run, EnvVars env, TaskListener listener)Run this step, without a workspace context.default voidSimpleBuildStep. perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)Run this step.voidSimpleBuildWrapper. 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.voidSimpleBuildWrapper. 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 voidEnvVarsFilterRule. filter(EnvVars envVars, EnvVarsFilterRuleContext context)In case the filter detects something that must stop the build, it must throw aEnvVarsFilterException.voidEnvVarsFilterRuleWrapper. 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 voidRetainVariablesLocalRule. filter(EnvVars envVars, EnvVarsFilterRuleContext context)
-