org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}'

Jenkins JIRA | Ian McDonald | 7 months ago
  1. 0

    I recently installed several plugin and jenkins updates (now on jenkins 2.4). It appears there is a conflict between build_timeout-plugin and the Token Macro Plugin. When I try and run job with a timeout I get the following: {color:#d04437}FATAL: Could not evaluate macro org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}' at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:246) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:232) at hudson.plugins.build_timeout.BuildTimeOutStrategy.expandAll(BuildTimeOutStrategy.java:108) at hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy.getTimeOut(AbsoluteTimeOutStrategy.java:44) at hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl.<init>(BuildTimeoutWrapper.java:166) at hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:211) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1741) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) FATAL: Unrecognized macro 'timeout' in '${timeout}'{color} If I remove the build-timeout-plugin the error goes away.

    Jenkins JIRA | 7 months ago | Ian McDonald
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}'
  2. 0

    I recently installed several plugin and jenkins updates (now on jenkins 2.4). It appears there is a conflict between build_timeout-plugin and the Token Macro Plugin. When I try and run job with a timeout I get the following: {color:#d04437}FATAL: Could not evaluate macro org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}' at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:246) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:232) at hudson.plugins.build_timeout.BuildTimeOutStrategy.expandAll(BuildTimeOutStrategy.java:108) at hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy.getTimeOut(AbsoluteTimeOutStrategy.java:44) at hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl.<init>(BuildTimeoutWrapper.java:166) at hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:211) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1741) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) FATAL: Unrecognized macro 'timeout' in '${timeout}'{color} If I remove the build-timeout-plugin the error goes away.

    Jenkins JIRA | 7 months ago | Ian McDonald
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}'
  3. 0

    [JIRA] [_unsorted] (JENKINS-34856) build_timeout-plugin timeout causes exception in token marco plugin

    Google Groups | 7 months ago | dlan...@gmail.com (JIRA)
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'timeout' in '${timeout}'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Missing variables

    GitHub | 7 months ago | sudoash
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'sourceCommitHash' in '${sourceCommitHash}'
  6. 0

    Odd behavior with macro expansion

    GitHub | 4 months ago | twllight
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'FOO' in '$FOO'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jenkinsci.plugins.tokenmacro.MacroEvaluationException

      Unrecognized macro 'timeout' in '${timeout}'

      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand()
    2. Token Macro Plugin
      TokenMacro.expandAll
      1. org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207)
      2. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:246)
      3. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:232)
      3 frames
    3. hudson.plugins.build_timeout
      BuildTimeoutWrapper.setUp
      1. hudson.plugins.build_timeout.BuildTimeOutStrategy.expandAll(BuildTimeOutStrategy.java:108)
      2. hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy.getTimeOut(AbsoluteTimeOutStrategy.java:44)
      3. hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl.<init>(BuildTimeoutWrapper.java:166)
      4. hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:211)
      4 frames
    4. Hudson
      Executor.run
      1. hudson.model.Build$BuildExecution.doRun(Build.java:156)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      3. hudson.model.Run.execute(Run.java:1741)
      4. hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      5. hudson.model.ResourceController.execute(ResourceController.java:98)
      6. hudson.model.Executor.run(Executor.java:410)
      6 frames