I have a build pipeline in YAML and it is working fine. I now want to create the release pipeline.
I have created the pipeline using the UI and I have added a task (which happens to be an AZURUE CLI Task), When U use the UI to add variables to the command I get the error.
#Your build pipeline references an undefined variable named ‘STORAGE_ACCOUNT_NAME’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references an undefined variable named ‘STORAGE_ACCOUNT_KEY’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
reading the documentation I need to add a
- variables:
section to the YAML, but I cannot find where to directly edit the release pipeline YAML. (The build pipeline YAML is in my code)
How do I edit that YAML Release Pipeline?
Alternatively, how do I add variables to this release pipeline using the UI?