Package | Description |
---|---|
hudson | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.slaves |
Code related to slaves.
|
hudson.tasks | |
hudson.tools | |
hudson.util |
Other miscellaneous utility code
|
jenkins.model | |
jenkins.tasks |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Launcher |
Launcher.decorateByEnv(EnvVars _env)
Returns a decorated
Launcher that automatically adds the specified environment
variables. |
Constructor and Description |
---|
EnvVars(EnvVars m) |
Modifier and Type | Method and 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 |
Computer.getEnvironment()
Returns cached environment variables (copy to prevent modification) for the JVM on this computer.
|
EnvVars |
Run.getEnvironment()
Deprecated.
as of 1.305 use
Run.getEnvironment(TaskListener) |
EnvVars |
AbstractProject.getEnvironment(Node node,
TaskListener listener) |
EnvVars |
Job.getEnvironment(Node node,
TaskListener listener)
Creates an environment variable override for launching processes for this project.
|
EnvVars |
Run.getEnvironment(TaskListener listener)
Returns the map that contains environmental variables to be used for launching
processes for this build.
|
EnvVars |
AbstractBuild.getEnvironment(TaskListener log) |
Modifier and Type | Method and Description |
---|---|
void |
RunParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
JobParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
PasswordParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env) |
void |
FileParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the originalFileName as an environment variable.
|
void |
BooleanParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
ParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Adds environmental variables for the builds to the given map.
|
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.
|
void |
ParametersAction.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env) |
void |
EnvironmentContributingAction.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env)
Called by
AbstractBuild to allow plugins to contribute environment variables. |
void |
ParameterValue.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env)
Deprecated.
Use
ParameterValue.buildEnvironment(Run, EnvVars) instead. |
void |
JDK.buildEnvVars(EnvVars env)
Sets PATH and JAVA_HOME from this JDK.
|
static Environment |
Environment.create(EnvVars envVars)
Creates
Environment 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) |
Modifier and Type | Method and Description |
---|---|
EnvVars |
EnvironmentVariablesNodeProperty.getEnvVars() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
CommandLauncher(String command,
EnvVars env) |
Modifier and Type | Method and Description |
---|---|
void |
Maven.MavenInstallation.buildEnvVars(EnvVars env) |
protected void |
Maven.buildEnvVars(EnvVars env,
Maven.MavenInstallation mi)
Build up the environment variables toward the Maven launch.
|
Maven.MavenInstallation |
Maven.MavenInstallation.forEnvironment(EnvVars environment) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static EnvVars |
ProcessTreeKiller.createCookie()
Deprecated.
Use
createCookie() |
abstract EnvVars |
ProcessTree.OSProcess.getEnvironmentVariables()
Obtains the environment variables of this process.
|
EnvVars |
ProcessTreeRemoting.IOSProcess.getEnvironmentVariables() |
Modifier and Type | Method and Description |
---|---|
void |
CoreEnvironmentContributor.buildEnvironmentFor(Job j,
EnvVars env,
TaskListener listener) |
void |
CoreEnvironmentContributor.buildEnvironmentFor(Run r,
EnvVars env,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
Copyright © 2016. All rights reserved.