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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by twllight
, 1 year ago
Unrecognized macro 'FOO' in '$FOO'
via GitHub by sudoash
, 1 year ago
Unrecognized macro 'sourceCommitHash' in '${sourceCommitHash}'
via Google Groups by (JIRA), 1 year ago
via Google Groups by (JIRA), 1 year ago
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'FOO' in '$FOO'
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(
at org.jenkinsci.plugins.stashNotifier.StashNotifier.lookupCommitSha1s(
at org.jenkinsci.plugins.stashNotifier.StashNotifier.processJenkinsEvent(
at org.jenkinsci.plugins.stashNotifier.StashNotifier.perform(
at hudson.tasks.BuildStepMonitor$1.perform(
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(
at hudson.model.Build$BuildExecution.post2(
at hudson.model.AbstractBuild$
at hudson.model.Run.execute(
at hudson.model.ResourceController.execute(

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.