-
Bug
-
Resolution: Fixed
-
Major
-
None
In a "Conditional step (single)" where Run is "Regular expression match" and Label is "${ENV,var="NODE_LABELS"}" I sometimes get "Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Undefined parameter var in token ENV], action = [Fail the build]" errors.
The exceptions started to appear after the update of the Token Macro Plugin to version 2.0 (from 1.12.1).
As a side note: I only need to use a regex match on NODE_LABELS because there is no simpler way to identify windows nodes that I know of...