title: Accessing output variables in matrix job
body: <p>I am generating output variables in matrix job A:</p>
  
  <pre class="lang-yaml prettyprint-override"><code>  - job: A
      strategy:
        matrix:
          nonprod:
            environment: test
          prod:
            environment: prod
      steps:
        - pwsh: Write-Host "##vso[task.setvariable variable=Hostname;isOutput=true]'StuffFrom$(environment)'"
          name: OutputVariable
  </code></pre>
  
  <p>Now I need to access them in subsequent matrix strategy in respective jobs:</p>
  
  <pre class="lang-yaml prettyprint-override"><code>  - job: B
      dependsOn: A
      strategy:
        matrix:
          nonprod:
            environment: test
          prod:
            environment: prod
      steps:
        - pwsh: Write-Host How can I use output variables from job A in here?
  </code></pre>