azure-devops-docs
azure-devops-docs copied to clipboard
Remove wrong variable reference.
Job B2 references a Deployment A1 variables, with a wrong variable reference syntax.
This:
myVarFromDeploymentJob: $[ dependencies.A2.outputs['A2.setvarStepTwo.myOutputVar'] ]
Should be:
myVarFromDeploymentJob: $[ dependencies.A1.outputs['A1.setvarStep.myOutputVar'] ]
But in my opinion, the variables reference can be removed for job B2, because it is unused and misleading.