azure-devops-yaml-schema icon indicating copy to clipboard operation
azure-devops-yaml-schema copied to clipboard

Deployment outputs variable not clear

Open dazinator opened this issue 1 year ago • 2 comments

This seciton of the document:

deploymentOutputs - Deployment outputs string.

Provides a name for the variable for the output variable, which contains the outputs section of the current deployment object in string format. You can use the ConvertFrom-Json PowerShell cmdlet to parse the JSON object and access the individual output values. Learn more about deployment outputs.

It's not clear whether this argument needs to be the powershell variable name or the symbol (i.e with the dollar prefix) e.g

E.g should I do this?

deploymentOutputs: '$myVariable`

Or this:

deploymentOutputs: 'myVariable`

The link also provides no clarification.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

dazinator avatar May 25 '23 14:05 dazinator