White Blue 8/5/2019

How to pass variables in Azure Pipelines YAML tasks

Read Original

This article provides a quick reference for passing variables between multiple tasks in Azure Pipelines YAML pipelines. It covers the basics of setting and using variables within the same job using the '##vso[task.setvariable]' command, then explains how to pass variables between jobs using output variables. The guide includes practical examples with bash scripts and notes on using variables in task definitions. It is aimed at developers working with multi-stage YAML pipelines on Linux, but concepts apply to PowerShell and Batch as well.

How to pass variables in Azure Pipelines YAML tasks

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet