FailedConsole Output

Started by GitHub push by jianlianggao
[EnvInject] - Loading node environment variables.
Building remotely on docker-packer-ansible2 (packer ansible docker) in workspace /home/ubuntu/workspace/container-npc2batman
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/phnmnl/container-npc2batman # timeout=10
Fetching upstream changes from https://github.com/phnmnl/container-npc2batman
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/phnmnl/container-npc2batman +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/master
Seen 1 remote branch
Checking out Revision b4a6f2fcc5e76f5137cdaead331cdc443f6d2571 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b4a6f2fcc5e76f5137cdaead331cdc443f6d2571
 > git rev-list 2c6ce2dc685d8c8b4664e77ef0a326259b7b1368 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'PhenoMeNal_Versions.txt'
[EnvInject] - Variables injected successfully.
ERROR: Unrecognized macro 'TOOL_VERSION' in 'v${TOOL_VERSION}_cv${CONTAINER_VERSION}.4'
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'TOOL_VERSION' in 'v${TOOL_VERSION}_cv${CONTAINER_VERSION}.4'
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:206)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:242)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:231)
	at com.cloudbees.dockerpublish.DockerBuilder$Perform.expandAll(DockerBuilder.java:307)
	at com.cloudbees.dockerpublish.DockerBuilder$Perform.getImageTags(DockerBuilder.java:318)
	at com.cloudbees.dockerpublish.DockerBuilder$Perform.exec(DockerBuilder.java:288)
	at com.cloudbees.dockerpublish.DockerBuilder$Perform.access$100(DockerBuilder.java:274)
	at com.cloudbees.dockerpublish.DockerBuilder.perform(DockerBuilder.java:245)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	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:1738)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Build step 'Docker Build and Publish' marked build as failure
Finished: FAILURE