Interface EnvVarsFilterableBuilder

All Known Implementing Classes:
BatchFile, CommandInterpreter, Shell

@Restricted(org.kohsuke.accmod.restrictions.Beta.class) public interface EnvVarsFilterableBuilder
Builder step that wants to integrate local environment filter rules should implement this interface
Since:
2.246
  • Method Details

    • buildEnvVarsFilterRules

      @NonNull default List<EnvVarsFilterLocalRule> buildEnvVarsFilterRules()
      The order is respected for the execution. Local rules will be executed before the global ones. This method is called only once per step to create the EnvVarsFilterRuleContext. The default implementation returns an empty list; this allows build steps to support global rules.