Hello, I need to run a custom powershell task that will perform some with with cloud service. The previous task is the Azure Cloud Service task. How do I retrieve the name of the cloud service used in the previous task? Thank you
Thanks for getting in touch. You can use the variable
$OctopusParameters['Octopus.Action[Deploy My Service].Azure.CloudServiceName'] where “Deploy my service” is the name of the Azure Cloud Service deploy step.
Hope that helps
Thank you, this answers my question.