We’re moving a new front-end application to tenanted deployment using Octopus. Everything works fine except that if we use the feature JSON Configuration Variables the replacement doesn’t work.
If we use a string it will be enclosed in extra double quotes ("") if we use an object the object is “messed” up and escape characters are added in as well as additional quotes. I’ve seen the same issue reported back in 2016 - what is desribed there is exactly our issue.
Sorry to hear that you’re having issues with variable replacement in JSON files. I can definitely take a look into this for you. If you would like to drop me an email (support@octopus.com) with the following information attached, I’ll see if I can get to the bottom of it!
The original JSON file that you’re attempting to manipulate in this step (from you packaged zip file/Nuget package). Please be sure to redact out any sensitive information here.