Class SystemEnvironmentVariables
java.lang.Object
org.jenkinsci.test.acceptance.utils.SystemEnvironmentVariables
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getPropertyVariableOrEnvironment
(String property, String def)
-
Constructor Details
-
SystemEnvironmentVariables
public SystemEnvironmentVariables()
-
-
Method Details
-
getPropertyVariableOrEnvironment
-