I am trying to use the ReplaceToken filter to insert the version into a file.
The following snippet with the version hardcoded works
filter(ReplaceTokens, tokens:['suiteName':"app-geo-sensor-functional",'version':"123"])
but if I try to use a variable as the value
filter(ReplaceTokens, tokens:[‘suiteName’:“app-geo-sensor-functional”,‘version’:"${project.version}"])
The build fails
Execution failed for task ‘:buildTemplateZip’.
Could not add file …