When calling on Windows it works as expected
When running octopus cli 1.6.2 on Linux (via GitHub Actions) the output stored in Octopus is truncated after the first double quote.
Welcome to the Octopus forums! We’re here to assist you.
To pass variables containing multi-word values, it’s essential to enclose the entire string within double quotes, like “value.” To resolve this, please rerun the command with quotes around “$formattedXml” Afterward, you can verify the value on the Octopus dashboard, and it should match the value you initially assigned to the variable.
If you have any further questions or need additional assistance, feel free to ask.
I am sorry you are still having issues here, we have now discontinued our official support on the Octopus Forums as per our notification banner at the top of the forum.
I can see you have an active, paid licence with us so would you be able to please send us an email at support@octopus.com quoting this forum post and we will be able to help you out via email.
I just don’t want this post getting left with no resolution as we are no longer monitoring the forums so if you email through we can carry on with the investigations.