@Extension
public class CompoundEnvironmentContributor
extends hudson.model.EnvironmentContributor
Modifier and Type | Class and Description |
---|---|
static class |
CompoundEnvironmentContributor.EnvironmentAction |
static class |
CompoundEnvironmentContributor.IPLister
Callable that returns all non-loopback active IP addresses
|
Constructor and Description |
---|
CompoundEnvironmentContributor() |
Modifier and Type | Method and Description |
---|---|
void |
buildEnvironmentFor(hudson.model.Run run,
hudson.EnvVars envs,
hudson.model.TaskListener listener) |
static boolean |
isReachable(InetAddress address)
A smarter function that checks if address is reachable in the desired way.
|
public void buildEnvironmentFor(hudson.model.Run run, hudson.EnvVars envs, hudson.model.TaskListener listener) throws IOException, InterruptedException
buildEnvironmentFor
in class hudson.model.EnvironmentContributor
IOException
InterruptedException
public static boolean isReachable(InetAddress address)
InetAddress.isReachable(int)
first. TEST_PORTS
)
to guess if that address is reachable.address
- to testCopyright © 2004-2015. All Rights Reserved.