Purge option for Custom Install Directory doesn't seem to expand variable

We chose to set Purge option to ‘#{PurgeDirectoryBeforeInstallation}’ in the deployment step template, so we can control it external to the step.

Currently the #{PurgeDirectoryBeforeInstallation} variable is set to ‘True’.

However it looks like the step doesn’t respect that, and it’s doesn’t purge the directory.

Please help!

Hi Tiger,

Thanks for getting in touch! Could you enable the debugging variables on your project, then create a new release and send us the deployment log? This way we’ll be able to see how’s Octopus handling that variable

http://docs.octopusdeploy.com/display/OD/Debug+problems+with+Octopus+variables
http://docs.octopusdeploy.com/display/OD/Get+the+raw+output+from+a+task

Thanks!

Dalmiro