GoldenAge
GoldenAge

Reputation: 3078

Share Variables between Build and Release pipeline in Azure DevOps

I created two variables in Azure DevOps portal, the MajorMinorVersion which is Settable at the queue time and the ProductVersion which value depends on the MajorMinorVersion. The configuration looks like this: enter image description here

Is there a possibility to pass the values of those two variables to the Release pipeline, so I'm able to use them in some Agent job there? Cheers

Upvotes: 3

Views: 3416

Answers (1)

GoldenAge
GoldenAge

Reputation: 3078

I found this article which tells that since 2017 there is a possibility to create a variable group which can be shared across the Build and Releases pipelines.

However, I found this

Setting the value of variables in a variable group at build queue time is not supported at the moment.

You can vote guys to add this feature to the future release of Azure DevOps here

Upvotes: 4

Related Questions