I'm building a pipeline yaml in Visual Studio and it reports at error on this line of code in the "variables" section
CAPABILITIES: [ 'CAPABILITY_NAMED_IAM' ]
Error: Incorrect type. Expected "string".
The pipeline works but Visual Studio reporting it as an error. I checked if there was any updates to any Atlassian Extensions but found none.
Hello @Sam Ware and thank you for reaching out to Community!
I suspect that Visual Studio might be trying to validate the YML code with the standard YML syntax, but since pipes are a bitbucket pipelines feature, it might be getting confused with the pipe's syntax.
In this case, in order to check your YML file for any syntax error I would suggest using Atlassian own Validator for bitbucket-pipelines.yml , as this will execute the same checks as when your build is triggered.
Thank you, @Sam Ware !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.