jobs:
# Set an output variable from job A
- job: A
steps:
- powershell: |
$image_infor=Invoke-WebRequest https://raw.githubusercontent.com/Sitecore/docker-images/master/tags/sitecore-tags.json ###json data
Write-Host $image_infor
Write-Host "##vso[task.setvariable variable=myOutput_currentDate;isoutput=true]$image_infor"
name: setvarStep
# Map the variable into job B
- job: B
dependsOn: A
variables:
myVarFromJobA: $[ dependencies.A.outputs['setvarStep.myOutput_currentDate'] ]
steps:
- powershell: |
Write-Host $myVarFromJobA.Name
this is the issue i have been facing. The content of the variable $image_infor does not not get passed to the second job. It appears blank without an error. So when i look at the logs for job A i can actuall see the value of the $image_infor but it does not get to job B . Any help on that please.
expecting to seet the json value in job B


Several points need to be pay attentions.
isoutputshould beisOutput$myVarFromJobA.Nameshould be$(myVarFromJobA)I have coded a sample with a tiny json data size.