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 Details

    • SystemEnvironmentVariables

      public SystemEnvironmentVariables()
  • Method Details

    • getPropertyVariableOrEnvironment

      public static String getPropertyVariableOrEnvironment(String property, String def)