Receive Output variable of a failing ''Deploy a release'

Hi there,

I’m busy with the ‘deploy a release’ step and output variablen.

I have a Project IAM and a Project ActoProject. ActoProject is the master project and it has a step ‘deploy a release’ which starts a deployment of the IAM project.

The IAM project sets an output variable ‘RestoreStatus’ in step ‘Testing’:

Set-OctopusVariable -name ‘RestoreStatus’ -value “Succes”

In the master Project ActoProject i’m able to retrieve this variable with:

$Status = $OctopusParameters[‘Octopus.Action[Deploy an IAM release].Output.Deployment[Testing].RestoreStatus’]

But if the deployment of the IAM project fails, I don’t receive any variable. It stays empty.

I would like also in these failing situations to receive the contents of the variable, because with these I will be able to setup the correct restore procedures.

Is it possible to recieve variable from a failing deployment?


Thanks for getting in touch.

I was able to reproduce the issue you are seeing with output variables from failed children being inaccessible to the parent. I’ve created an issue here: It has been fixed, expect it to ship shortly.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.