I'm looking for a way to load file contents into Environmnet variable, is this possible any way..
For eg. lets say i definend one environmnet variable "FileName=/home/myfile.txt" in my Environments called "MyEnv"
at the background i will be updating "/home/myfile.txt" file from other process. and the values in myfile.txt will be like
SELECT|File-1|File-2|File-3|File-4
So now when i start project and go to Job details i want to see FileName value would be dropdown box with the the value
SELECT|File-1|File-2|File-3|File-4
Is this even possible, anyone has any idea, please help
BF doesn't have this functionality. I don't even think I would want it -- just think if this other process corrupts the file then who knows what would happen when the field sources the file. It's just trouble.
You might just want have this other process run a BF API script that updates the environment variable, or if this "other process" is a build forge process you can just update the environment variable with ".set env".