Thanks for reaching out and welcome to the forums.
Because PinpointConfig:UsePinpoint is your variable name, this unfortunately won’t work with Octopus CLI. The issue is that the : character tells Octopus to stop parsing, it believes the variable name is PinpointConfig, and the value is UsePinpoint. Are you able to change the name to PinpointConfig.UsePinpoint? Typically speaking, we advise using dots in these situations.
Looking forward to hearing back and what you think.
Thanks Jeremy for your quick reply.
I was confused by the documentation, and I tried to use the backslash in many combinations but without any success.
In the end, I create a new prompt variable without : and I use it to populate the value for my JSON variable. As one of my colleagues said, it was an ugly hack, but I did not find another way to make it work.
You’re very welcome. I hadn’t considered the fact that the variable requirement for JSON structured variable replacement is a :. I’m going to have some internal discussions about this. I’ll get back to you if we come up with a nice solution.
Can you please try making the label PinpointConfigUsePinpoint(or some variation you prefer that doesnt have a :) and then in your create-release do --variable=PinpointConfigUsePinpoint:no and see if it works okay for you?