I am really annoyed by debug the syntax error by push a commit to trigger the pipeline.
Is there any azure pipeline YAML file syntax checker for intelliJ IDEA?
There is no Azure Pipelines YAML checker for intelliJ.
You can use VS Code with Azure Pipelines extension to get syntax highlighting and autocompletion for azure-pipelines.yml
files.
You can also use Rest API to check your YAML, Microsfot release a new API endpoint:
POST dev.azure.com/<org>/<project>/_apis/pipelines/<pipelineId>/runs?api-version=5.1-preview
{
"PreviewRun": true,
"YamlOverride": "# your new YAML here, optionally"
}
Another option is to use PowerShell Module VSTeam:
Test-VSTeamYamlPipeline -PipelineId 29 -FilePath .\azure-pipelines.yml -ProjectName MyProject