How can I use the WORKSPACE environment variable for Extended Choice Parameter definition? my Pipeline has an Extended Choice Parameter, where I need to read the choice from a property file stored in git repository.
The reason behind to put property file into git is that I can track the changes, and don’t need to update pipelines everything the list of choice items updated.
But that approach seems failed. I tried to use all the format of the following format, neither one works
propertyFile: “${env.WORKSPACE}/intermediate_path/myfile.property”
propertyFile: ${WORKSPACE}/intermediate_path/myfile.property"
propertyFile: env.WORKSPACE + ‘/intermediate_path/myfile.property’
Anyone has a clue how to interpolate a string, referring a file in git repo? I’m pulling my hair…