I am trying to use the new variable substitution features introduced in version 2.5, as listed here: http://docs.octopusdeploy.com/display/OD/Variable+Substitution+Syntax. It does not appear to work within the Variables defined within a template.
The simple repro of this is to create a project with a variable that uses one of the substitution features and then reference the variable in a Powershell step. I have attached a set of screenshots that illustrate.
I am running Octopus Deploy 188.8.131.520
variable-issue.docx (25 KB)
Thanks for finding this! I was able to reproduce it with the latest version also, so I have created a GitHub issue which you can track here:
I’ll update this ticket with what we find.
Currently the extended syntax is supported only in file substitutions and email bodies (there’s a small note in the documentation but it isn’t very prominent, sorry).
We’d love to roll this out across Octopus; it’s been on our radar for a while. I’ve just re-opened the original ticket we had for it at https://github.com/OctopusDeploy/Issues/issues/778.
Thanks for getting in touch!