Azure DevOps yaml 管道部署:"Provider phase is not supported"

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

带有 deployment job 的 Azure DevOps yaml 管道失败并出现错误 Provider phase is not supported

我做错了什么?

Azure DevOps 服务器版本 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

因为 deployment job 在 Azure DevOps Server 2019 中不可用:

同样在 YAML page 中,当您更改为 Azure DevOps Server 2019 时,您看不到部署作业: