I am trying to grab the package associated with the project via powershell.
My idea is to grab the package and make a restful call. Unfortunately everything I am seeing and trying is leading me to believe that I can only get the package if on a deployment step, which in the case isnt possible.
Thanks for reaching out, apologies for the time it’s taken for me to get back to you.
I can confirm that $OctopusParameters[“Octopus.Tentacle.CurrentDeployment.PackageFilePath”] is only accessible as part of a deployment. If you are able to provide some more context around what you are trying to achieve I may be able to assist in coming up with a solution for you.