Class VariableReplacerUtil

java.lang.Object
org.jvnet.hudson.plugins.VariableReplacerUtil

public class VariableReplacerUtil extends Object
  • Constructor Details

    • VariableReplacerUtil

      public VariableReplacerUtil()
  • Method Details

    • preludeWithEnvVars

      public static String preludeWithEnvVars(String originalCommand, Map<String,String> vars)
      Sets/exports shell env vars before original command, if the command contains variable name
      Parameters:
      originalCommand -
      vars -
      Returns:
      shell script preluded with env vars
    • scrub

      public static String scrub(String command, Map<String,String> vars, Set<String> eyesOnlyVars)