0

I'm trying to deploy an azure pipeline in devops with a local host agent pool and I get this error output. enter image description here

I also share the structure of my yaml. enter image description here

Does anyone know what could be going on and how to fix it?

  • 1
    Consider pasting your YAML code here instead of sharing screenshots so people can easily copy and reproduce the issue. – Sibtain Mar 07 '23 at 12:06

1 Answers1

0

if I use the following yml:

variables:
  - name: vmImageName
    value: 'ubuntu-20.04'

stages:
- stage: Deploy
  jobs:
  - job: Deployment
    pool:
      vmImage: $(vmImageName)
    steps:
    - task: AzureCLI@2
      inputs:
        azureSubscription: 'My Connection'
        scriptType: 'bash'
        scriptLocation: 'inlineScript'
        inlineScript: |
          az --version

The result: enter image description here

but in your case, we see windows path. pls check that you use correct yml, correct branch name to run....

enter image description here

Shamrai Aleksander
  • 13,096
  • 3
  • 24
  • 31