I have Azure DevOps custom extension which contain build task. I am trying to configure/edit YAML file in my codebase and add my custom build task into it via VS Code. I am using Microsoft VS Code extension docs-yaml extension to validate my YAML file.
As you can see in below image all build tasks, which are available in Microsoft Build template are validating successfully without any issue. But it failed to validate my build task sampletask@3. As I understood YAML file is getting validated against file called pipeline schema. I found this schema file in below location https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.174.2/service-schema.json
- How to /is it possible to add my build task details into, pipeline schema file?
- If above is not possible, is there any way I can successfully validate my build task in VS Code?
references :