Hi.
I'm trying to use the syntax `${FILE,path=foo.txt}` to introduced in Token Macro Plugin 1.11. My plugin version is 1.12.1
In what context can this be used? My project is a freestyle project. It creates foo.txt, then I have the EnvInject step with the following:
AAA=${FILE,path=foo.txt}
and then the shell step:
echo "AAA=$AAA"
Here's the console output:
[basintest] $ /u01/jenkins/jenkins_shell -xe /tmp/hudson8306494744167210672.sh
+ . /tmp/hudson8306494744167210672.sh
++ cat foo.txt
aaa
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
AAA=${FILE,path=foo.txt}
[EnvInject] - Variables injected successfully.
[basintest] $ /u01/jenkins/jenkins_shell -xe /tmp/hudson6182970742482538021.sh
+ . /tmp/hudson6182970742482538021.sh
++ echo 'AAA=${FILE,path=foo.txt}'
AAA=${FILE,path=foo.txt}
Finished: SUCCESS