When including a manual intervention step, output variables created in subsequent steps are lost in a “parent” project.
Basic repro setup is a “parent” project (in my case:“GTaiji-Test”) with a Deploy Release “child” step (“Notifications” which deploys project “Notification Approval”). I’ve attached the following raw logs:
- Log 1: “Notifications” release 0.0.1 deployed with no manual intervention
- Log 2: “GTaiji-Test” release 0.0.1 using “Notifications” 0.0.1 in a Deploy Release step
- Log 3: “Notifications” release 0.0.2 deployed with a manual intervention
- Log 4: “GTaiji-Test” release 0.0.2 using “Notifications” 0.0.2 in a Deploy Release step
In Log 2 you can observe the existence of output variables from steps within “Notifications” created using powershell command Set-OctopusVariable. This is as expected per the Deploy Release documentation.
In Log 4 the same output variables are no longer available. The only difference between the two deployments is the inclusion of a manual intervention prior to Set-OctopusVariable being called within “Notifications”.
Attachments:
- Log 1 - Notifications.txt (96.8 KB)
- Log 2 - GTaijiTest.txt (18.2 KB)
- Log 3 - Notifications.txt (103.6 KB)
- Log 4 - GTaijiTest.txt (18.7 KB)