Relative Content

Tag Archive for azurevariablesazure-devops

Replace variables value in json from azure devops pipeline variable

I have variables in azure devops pipeline. I have json files on the server. I want to replace the variables values in json file from the variables in azure devops pipeline. I used file transform task. My file is on the server at location “C:agent_workr1ahelm-chartapplicationserviceapplicationserviceappsettings.config.json”. I have passed the same location in package or folder. However it gives error ##[warning]Can’t find loc string for key: Invalidwebapppackageorfolderpathprovided and the task fails. I am not sure why it is not working.