Reputation: 1100
Deployment job is not running at all. Returns a failed status without any error message. Here's the test YAML pipeline:
trigger: none
stages:
- stage: Deploy
jobs:
- deployment: Deploy_Test
environment:
name: 'DOKS-Production'
resourceName: 'default'
pool:
vmImage: 'ubuntu-latest'
strategy:
runOnce:
deploy:
steps:
- script: echo deploy stage ran
Oddly when I switch over to the following, it works fine.
jobs:
- job: Deploy
displayName: Deploy
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo deploy stage ran
Upvotes: 1
Views: 551
Reputation: 1100
For anyone who had run into the same issue, I managed to get it working by simply creating a new environment in Azure DevOps. Seems like the existing environment was corrupt in someway.
Upvotes: 1