Octopus cli doesn't handle double quotes in variable content

Hi,

$formattedXml contains an XML e.g.

<a value="test">abc</a>

Example:

octopus tenant variable update -s "Default" --tenant $tenantName --name 'Settings' --value $formattedXml --project 'MyProject' --environment "Test"

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.

Thanks,
Mau

Hi @ibraheem.fauzi,

I’ve tried it but it didn’t make any difference. The issue is still present.
Could you please advise?

Thanks,
Mau

Good morning @maurycy_widera,

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.

Kind Regards,
Clare

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.