In my Jenkins job, I have a situation where I am passing the absolute path of a file to next job as a parameter from property file. The path has a token as a folder name(result of multi configuration job). When I trigger the next job with this path, or use the key, the token's value is passed instead of the token itself. So, is there a way to override the token?
For example.,
say var=456
Property file content:
Param=c:\temp\${var}\fldr1\fldr2\hello.txt
When I pass this to the next job, the actual value of the token ${var}
is taken i.e.,
c:\temp\456\fldr1\fldr2\hello.txt
I want the token name to be as it is ${var}
.
How to override this feature? Or how to keep the token as it is in the path?