Package jenkins.tasks.filters
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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default List<EnvVarsFilterLocalRule>
buildEnvVarsFilterRules()
The order is respected for the execution.
-
-
-
Method Detail
-
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 theEnvVarsFilterRuleContext
. The default implementation returns an empty list; this allows build steps to support global rules.
-
-