单击多阶段管道上的新功能“要运行的阶段”,我收到错误消息“无法加载管道的阶段”。此功能是否仍处于某种预览状态?
Yaml 文件如下:
- 管道文件
- 构建模板
- 部署模板未粘贴 b/c 它几乎与构建一个相同
================== azure-pipelines.yml =============
trigger: none
variables:
- group: var-group
- name: PREFIX
value: xyz
stages:
- stage: build_and_push
displayName: Build/Push stage
jobs:
- template: build-template-job.yml
parameters:
countries:
- name: Austria
country_code: AT
- name: Switzerland
country_code": CH
- stage: deploy
displayName: Deploy stage
jobs:
- template: deploy-template-job.yml
parameters:
countries:
- name: Austria
country_code: AT
- name: Switzerland
country_code": CH
================== build-template-job.yml =============
parameters:
countries: []
jobs:
- job: Build_1
pool:
vmImage: 'Ubuntu-16.04'
continueOnError: false
displayName: "Building 1"
steps:
- task: HelmInstaller@0
displayName: 'Install Helm'
inputs:
helmVersion: 2.14.3
checkLatestHelmVersion: false
- bash: helm package
--version 1.0.0
--destination $(build.artifactStagingDirectory)
helm/
displayName: 'Packaging the heml chart....'
- ${{ each country in parameters.countries}}:
# more steps....```