tomaustin700 / YAML-Pipeline-Validator-VS-Code-Extension

Azure DevOps YAML Pipeline Validator Extension for VS Code
https://marketplace.visualstudio.com/items?itemName=TomAustin.azure-devops-yaml-pipeline-validator
2 stars 5 forks source link

Cannot fine Template Files on Validation #16

Closed jmconnell2000 closed 3 years ago

jmconnell2000 commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

**Example yaml A small yaml sample that can dulpicat the issue

Additional context Add any other context about the problem here.

jmconnell2000 commented 3 years ago

While attempting to validate YAML on my local files (CTRL+ALT+V) I get the following error: Can not find /Pipelines/webapi-deploy-preprod-job-template.yml

image

I think the extension assumes all templates are found under a path called /Pipelines under the root. All of my pipeline files are located on the root of my repo.

tomaustin700 commented 3 years ago

Hi @jmconnell2000, templates are not currently supported and this is a known issue and I'm not sure if it can be resolved at the moment. I'll update this as a known issue in the readme. Sorry about that,

tomaustin700 commented 3 years ago

Duplicate of #11