public final class PerfectoEnvironmentUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static PerfectoBuildWrapper |
getBuildWrapper(AbstractProject<?,?> project) |
static void |
outputEnvironmentVariable(Map<String,String> env,
String key,
String value,
boolean overwrite)
Adds the key/value pair to the map of environment variables.
|
public static void outputEnvironmentVariable(Map<String,String> env, String key, String value, boolean overwrite)
env - the map of environment variableskey - environment variable keyvalue - environment variable valueoverwrite - indicates whether existing environment variables should be overwrittenpublic static PerfectoBuildWrapper getBuildWrapper(AbstractProject<?,?> project)
project - the Jenkins project to checkCopyright © 2016–2020. All rights reserved.