public class EnvironmentVariableUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
expandVariable(hudson.EnvVars environment,
String variable)
Tries to expand a variable value, using the Jenkins Variable Environment.
|
public static String expandVariable(hudson.EnvVars environment, String variable)
environment
- Jenkins Variable environment.variable
- the variable to be replacedCopyright © 2016–2022. All rights reserved.