Variable for Release Path

Hi I was just wondering if there was an Octopus variable available that had the Release Path that Octopus was deploying to?

Also, is it possible to reuse a variable within another variable?

Hi James,

There isn’t a variable available, but you can use (Resolve-path .) within PowerShell to get the current path (which will be the base of the package). You could then use this within a PowerShell script.

There’s no way to reference one variable from within another yet, that’s a feature on our backlog.

Hope that helps,

Paul