Hello Azure DevOps Community,
I'm encountering an issue with my Azure DevOps pipeline configuration. Despite following the documentation and ensuring my YAML syntax is correct, I keep getting an "unexpected property stages" error when I run my pipeline. This error occurs even though my stages are defined at the root level of the YAML file, as per the Azure DevOps documentation.
Here is a simplified snippet of my YAML configuration:
![User's image](https://learn-attachment.microsoft.com/api/attachments/fbbe4547-182c-4b0f-81f5-b0312504ae87?platform=QnA)
![User's image](https://learn-attachment.microsoft.com/api/attachments/98aaaccc-2461-4d57-808c-819eeaaddacc?platform=QnA)
- The YAML syntax is correct, with proper indentation and no tabs.
- The
stages
keyword is placed at the root level.
- All features used are supported by my Azure DevOps version.
Despite these checks, the error persists. Here are my questions:
- Are there known issues with defining stages in Azure DevOps pipelines that could lead to this error?
- Is there a specific format or indentation requirement for stages that I might have overlooked?
- Could this error be related to Azure DevOps version compatibility or known bugs?
Any guidance or suggestions would be greatly appreciated. Thank you for your help!