简体   繁体   中英

Azure DevOps yaml-pipeline deployment: “Provider phase is not supported”

Azure DevOps yaml-pipeline with deployment job fails with error Provider phase is not supported .

What am I doing wrong?

Azure DevOps Server Version Dev17.M153.5 .

trigger:
- master
jobs:
- deployment: ExperimentalDeploy
  displayName: Deploy my app
  pool: MyPool
  environment: experimental_environment
  strategy:
    runOnce:
      deploy:
        steps:
        - script: echo Hello world

在此处输入图像描述

It because deployment job is not available in Azure DevOps Server 2019:

在此处输入图像描述

Also in the YAML page when you change to Azure DevOps Server 2019 you couldn't see the deployment job:

在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM