Forum Discussion

ierdelyi's avatar
ierdelyi
Copper Contributor
May 16, 2024

Azure Devops pass pipeline parameter between stages

Hello,

 

How can I pass the parameter from stageA to stageB?

The parameter output is an output from bicep file, called by a job.

I would like to use this output on the next stage.

 

 

Istvan

 

1 Reply

  • chamindac's avatar
    chamindac
    Brass Contributor

    ierdelyi you can use output variable to pass a value from stage to a next stage. The documentation here explains how to do https://learn.microsoft.com/en-us/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=bash#set-an-output-variable-for-use-in-future-stages