On the first line in my bitbucket-pipelines.yml file, I get a red squiggle under the first letter. Doesn't matter what's in the file, as soon as I start typing I get the message.
I'm running:
- vscode (1.95.3)
- Atlassian plugin (3.0.13)
The full error I get is:
$ref '/components/schemas/cloud' in 'file:///Users/user/.vscode/extensions/atlassian.atlascode-3.0.13/resources/schemas/pipelines-schema.json' can not be resolved.YAML(768)
Has anyone else experienced this, and is there a best-practice way to fix it? What I did was I opened the file listed in the error, searched for the $ref, which was in the runtime section starting on line 566, and deleted the property with the problematic $ref. Now at least I've got it working again as long as I don't need that particular setting....
Hello @Chris Flora ,
thank you for reaching out and reporting this.
I was able to reproduce this issue in the most recent version of the Jira and Bitbucket (Atlassian Labs) VSCode extension v3.0.13.
I am in contact with the engineering team managing the extension to report this issue.
Meanwhile, I have confirmed that version 3.0.12 of the Atlassian extensions is not affected by this problem, so I'd suggest installing that specific version until a fix for the latest one is released.
To install a specific version of the extensions in VSCode :
I hope this helps! Let us know in case you have any questions.
Thank you, @Chris Flora !
Patrik S
Hello @Chris Flora
Have you checked if your code is indentated in a correct way, Bitbucket is very sensitive to this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and I can replicate the issue with a fresh pipeline file with just a single line, like so:
image: atlassian/default-image:4
When that's my only line in the bitbucket-pipelines.yml file, and there's no indentation for it (which there shouldn't be since it's the only line), I get the red squiggly under the first letter "i" in image: and I get that error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've added the tag for Atlassian so they can help us further.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.