I’m working with Offline Deployment Packages and trying to extract variables from an encrypted variable set file. The Calamari version is
Octopus Deploy: Calamari version 4.9.5
I’m attempting to do this by calling a
Calamari.exe run-script with a
-script argument as the Offline Deployment ps1 script does.
When I do this Calamari spits out this warning:
The `--script` parameter is deprecated. Please set the `Octopus.Action.Script.ScriptBody` and `Octopus.Action.Script.ScriptFileName` variable to allow for variable replacement of the script file. ##octopus[stdout-verbose]
I’d like to get variable replacement in the script I’m running so I’d like to set the
Octopus.Action.Script.ScriptFileName variables as suggested.
How do I do this when calling Calamari from the command line?
Thanks in advance.