I’ve created my own Step Template based on Octopus.TentaclePackage
with parameter called AppRootPath
. I would like to use this variable in my Deploy.ps1
and PostDeploy.ps1
scripts, but it seems it does not work as script params documented here: https://octopus.com/blog/script-parameters.
Param(
[Parameter(Mandatory=$True)]
[string]$AppRootPath
)
# use $AppRoothPath various way, e.g. Remove-Item -Recurse $AppRootPath :)
How do I reach AppRootPath
step parameter from deployment scripts which is deployed with nuget package? Is that actually possible?