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.