I am trying to use the Configuration - Encrypt Section step template. I have given the step a name of ‘Encrypt Configuration Section’. However, I can’t seem to get the ‘Website directory’ field set correctly. I have tried all of the following values:
Hi
I Can’t see anything obviously wrong with your provided values. Can you please send through a screenshot of how you have it configured. Perhaps could you also try to just print to output this particular variable to make sure it is actually accessible.
Thanks for the extra information,
Robert
Hi,
You appear to have an extra square bracket at the start of the variable. Could you take that out and try again? If not then perhaps could you also try to just print to output this particular variable to make sure it is actually accessible.
Cheers
Rob
I’ve enabled variable debugging using the OctopusPrintEvaluatedVariables and OctopusPrintVariables variables but the #{Octopus.Action[Encrypt Configuration Error Section].Output.Package.InstallationDirectoryPath} does not show up in the raw deployment output.
I also tried creating a new Test variable with a value of #{Octopus.Action[Encrypt Configuration Error Section].Output.Package.InstallationDirectoryPath} and this is what it outputs in the raw deployment output:
I’ve resolved the issue, I had to use the step name which was doing the actual NuGet deployment. This should be made more clear in the description of the parameter.