Skip to content

Instantly share code, notes, and snippets.

variables:
myvar1: thisvalue
variables:
- group: my-var-group
variables:
name: resource1
location: northeurope
variables:
environmentname: dev
resourcename: $(name)-$(locationshort)-$(environmentname)
pool:
vmImage: windows-latest
variables:
- template: vars-all.yml
- template: vars-dev.yml
steps:
# Use default for variable value (look for "$(..)"), but only for variable name "resourcename", and only warn
- task: validateVariablesTask@0