Azure Pipelines YAML: Unexpected value 'variables' and Unexpected 'stages'
问题 I have gotten pretty close with my template and my deploy yaml that uses it. However I am getting to errors Unexpected value 'variables' Unexpected value 'stages' I am sure I have the syntax wrong, but I can't for the life of me understand why. Here is the start of my template #File: template.yml parameters: - name: repositoryName type: string default: '' variables: tag: '$(Build.BuildId)' buildVmImage: 'ubuntu-latest' deployPool: 'deploy-pool' stages: - stage: Build jobs: - job: Build pool: