Hi ,
I use $OctopusParameters[‘Octopus.Deployment.PreviousSuccessful.Id’] built in system variable but sometimes it’s not getting populated
$lastid = $OctopusParameters[‘Octopus.Deployment.PreviousSuccessful.Id’]
I get returned … Last id =
yet for the same project but the previous release i got
Last id = Deployments-2417
Is there a reason this value could be hit and miss getting returned?
would calling $OctopusParameters[‘Octopus.Deployment.PreviousSuccessful.Id’] a second time possibly have a different outcome ?
Thanks
kris