public class EnvVarsUtil extends Object
Constructor and Description |
---|
EnvVarsUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
expand(String value)
Expand a value with the current environment variable.
|
static Map<String,String> |
getLibs(hudson.FilePath filePath)
Get the library environment for the provided folder.
|
static String[] |
getPythonHomeKeys()
Return the list of variables used to define an installation home.
|
static hudson.EnvVars |
override(hudson.EnvVars original,
Map<String,String> additional)
Clone the original environment and override it with additional one
(potentially containing some "+").
|
public static Map<String,String> getLibs(hudson.FilePath filePath)
filePath
- The folderpublic static String[] getPythonHomeKeys()
public static hudson.EnvVars override(hudson.EnvVars original, Map<String,String> additional)
original
- The original environmentadditional
- The environment that overrides the original oneCopyright © 2004-2018. All Rights Reserved.