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

Added settings to support validating against user defined pipelines #2

Closed tomaustin700 closed 3 years ago

tomaustin700 commented 3 years ago

Currently there is an issue where the validator will fail if you are using 3rd party tasks or variable groups. This attempts to resolve this by running the validator against a specific pipeline that a user can define.

Allows setting of the following settings: "yamlpipelinesvalidator.builddefinitionid": "", "yamlpipelinesvalidator.pat": "", "yamlpipelinesvalidator.projecturl": ""

yamlpipelinesvalidator.builddefinitionid - Should be the id of the pipeline you are validating, you can see this in the url for your pipeline image

yamlpipelinesvalidator.pat - PAT that has 'Read & Execute' Build permissions.

yamlpipelinesvalidator.projecturl - Url of your Azure DevOps project e.g. https://dev.azure.com/username/projectname

Fixes #1