Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67873

Getting error: Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • token-macro-plugin
    • None
    • Windows Server 2012 R2
      Jenkins 2.319.3
      token-macro-plugin 277.v7c8f82a_d66b_3

      While executing a former properly working build, I'm getting the following exception (please see one of the conditions below in the screen shot):

       

      org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Invalid identifier in macro
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.parseIdentifier(Parser.java:203)}}
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.parseNonDelimitedToken(Parser.java:168)}}
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.parseToken(Parser.java:112)}}
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:87)}}
      Caused: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:97)}}
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:75)}}
      {{ at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:68)}}
      {{ at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:199)}}
      {{ at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:237)}}
      {{ at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:211)}}
      {{ at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:203)}}
      {{ at org.jenkins_ci.plugins.run_condition.core.ExpressionCondition.runPerform(ExpressionCondition.java:56)}}

       

      The problem is gone as soon as I step back to the former version of this plugin.

            slide_o_mix Alex Earl
            flocki Florian Pepping
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: