I am trying to write a step-template that will depoy a package and install a windows service, and configure the service description using content from within the package being deployed.
What I would like to do, is run a PS deploy script (within the same step) that will read a file with description information, then output to a variable via the “Set-OctopusVariable” commandlet. Then in the windows service description field I need to bind to the output variable that was set in the deploy script. Because its in a step-template I cannot simply reference the output variable with a specific action name. So I have tried this:
But Octopus Deploy doesnt seem to support this nested variable syntax.
Any suggestions to solving my problem would be very helpful.
Thanks in advance!