Klasse EnvironmentResolver

java.lang.Object
io.jenkins.plugins.util.EnvironmentResolver

public class EnvironmentResolver extends Object
Resolves environment parameters in a string value.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • EnvironmentResolver

      public EnvironmentResolver()
      Creates a new instance of EnvironmentResolver. Attempts up to RESOLVE_VARIABLE_DEPTH_DEFAULT times to resolve a variable.
  • Methodendetails

    • expandEnvironmentVariables

      public String expandEnvironmentVariables(@CheckForNull EnvVars environment, String nonExpandedValue)
      Resolves build parameters in the specified string value to resolveVariablesDepth times.
      Parameter:
      environment - environment variables
      nonExpandedValue - the value to expand
      Gibt zurück:
      the expanded value