org.jenkinsci.plugins.tokenmacro.MacroEvaluationException

Unrecognized macro 'JBNAME' in 'url/repo/**${JBNAME}**' at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12

  • Unrecognized macro 'JBNAME' in 'url/repo/**${JBNAME}**' at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:207)
  • via GitHub by sudoash
    , 10 months ago
    Unrecognized macro 'sourceCommitHash' in '${sourceCommitHash}'
  • via Jenkins JIRA by Ian McDonald, 11 months ago
    Unrecognized macro 'timeout' in '${timeout}'
  • Stack trace

    • org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'JBNAME' in 'url/repo/**${JBNAME}**' 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 com.cloudbees.dockerpublish.DockerBuilder$Perform.expandAll(DockerBuilder.java:324) at com.cloudbees.dockerpublish.DockerBuilder$Perform.getImageTags(DockerBuilder.java:336) at com.cloudbees.dockerpublish.DockerBuilder$Perform.exec(DockerBuilder.java:305) at com.cloudbees.dockerpublish.DockerBuilder$Perform.access$100(DockerBuilder.java:291) at com.cloudbees.dockerpublish.DockerBuilder.perform(DockerBuilder.java:262) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1720) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.