Package jenkins.tasks.filters
Interface EnvVarsFilterRule
- All Superinterfaces:
- Serializable
- All Known Subinterfaces:
- EnvVarsFilterGlobalRule,- EnvVarsFilterLocalRule
- All Known Implementing Classes:
- RetainVariablesLocalRule
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public interface EnvVarsFilterRule
extends Serializable
The order of execution of the rules is determined by first their type (local before global)
 and then, by default, their 
Extension.ordinal(), higher ordinal first, but configuration can customize the order.- 
Method SummaryModifier and TypeMethodDescriptionvoidfilter(EnvVars envVars, EnvVarsFilterRuleContext context) In case the filter detects something that must stop the build, it must throw aEnvVarsFilterException.default String
- 
Method Details- 
filtervoid filter(@NonNull EnvVars envVars, @NonNull EnvVarsFilterRuleContext context) throws EnvVarsFilterException In case the filter detects something that must stop the build, it must throw aEnvVarsFilterException. This method may be executed on agents through a remoting channel.- Throws:
- EnvVarsFilterException
 
- 
getDisplayName
 
-