org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'FOO' in '$FOO'

Google Groups | pa...@batanov.me (JIRA) | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] (JENKINS-37238) Problems expanding variables created outside the Jenkins build

    Google Groups | 9 months ago | pa...@batanov.me (JIRA)
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'FOO' in '$FOO'
  2. 0

    Odd behavior with macro expansion

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

    Jenkins "Invoke Maven 3" build step does not expose POM_* variables

    Stack Overflow | 2 years ago | Armin Balalaie
    org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'POM_VERSION' in '${POM_VERSION}'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Missing variables

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

    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 'FOO' in '$FOO'

      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand()
    2. Token Macro Plugin
      TokenMacro.expandAll
      1. org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:198)
      2. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
      3. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:222)
      3 frames
    3. org.jenkinsci.plugins
      StashNotifier.prebuild
      1. org.jenkinsci.plugins.stashNotifier.StashNotifier.lookupCommitSha1s(StashNotifier.java:287)
      2. org.jenkinsci.plugins.stashNotifier.StashNotifier.processJenkinsEvent(StashNotifier.java:247)
      3. org.jenkinsci.plugins.stashNotifier.StashNotifier.prebuild(StashNotifier.java:194)
      3 frames
    4. Hudson
      ResourceController.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:837)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:832)
      3. hudson.model.Build$BuildExecution.doRun(Build.java:144)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      5. hudson.model.Run.execute(Run.java:1738)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      7. hudson.model.ResourceController.execute(ResourceController.java:98)
      7 frames