---
title: "Maikel (@maikel2) | Hashnode"
description: "devops. Read the latest articles by Maikel on Hashnode."
url: "https://hashnode.com/@maikel2"
---

@maikel2

# Maikel

@maikel2 · Joined December 2021

devops

## Comments

[Like lavoizer mentioned, the example does not work. Fixed it for you: variables: someName: someValue stages: - stage: stage\_deploy displayName: Production jobs: - job: job\_deploy\_infrastructure displayName: Deploy Some Infrastructure steps: - bash: | SOMEVALUE="bleh" echo "##vso\[task.setvariable variable=someName;isOutput=true;\]$SOMEVALUE" echo "variable value is $(someName)" name: setVariable - job: job\_deploy\_code displayName: Deploy Some Code dependsOn: \['job\_deploy\_infrastructure'\] variables: someName: $\[ dependencies.job\_deploy\_infrastructure.outputs\['setVariable.someName'\] \] steps: - bash: | echo "the variable value is $(someName)"](https://hashnode.com/posts/passing-variables-between-jobs-for-azure-devops-pipelines/619d36f406cdc0324d91504b/comment/61b221c01907c16be2ee094f)

Comment · Article · Dec 9, 2021 · [Passing variables between jobs for Azure DevOps pipelines](https://hashnode.com/posts/passing-variables-between-jobs-for-azure-devops-pipelines/619d36f406cdc0324d91504b)
