Class SystemEnvironmentVariables
- java.lang.Object
-
- org.jenkinsci.test.acceptance.utils.SystemEnvironmentVariables
-
public class SystemEnvironmentVariables extends Object
Gets a system environment variable. First it checks if the variable is set as Java system property and if it is the case, it returns the configured value. If not then it checks if it is defined as environment variable, and if not it returns the default value.
-
-
Constructor Summary
Constructors Constructor Description SystemEnvironmentVariables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getPropertyVariableOrEnvironment(String property, String def)
-