Closed chyin6 closed 1 year ago
Good morning,
You need to use the following template expression syntax for packageType, this will process it at compile time and the value will be displayed
stages:
- template: templates/display_name.yml
parameters:
packageType: ${{ variables.packageType }}
Cheers, Wes
Thank you Wes for your help. It works.
I'm using YAML stage template and trying to make my stage display name dynamic. But the display name is variable itself not the variable value like:
I made a minimal pipeline to reproduce it:
And the template is: