I have a custom Bitbucket Runner running on an EC2 instance in AWS. It's a Linux Docker runner. I've noticed that I can't use stages in my bitbucket-pipeline.yml file. When I add a stage, commit, and push, the resulting pipeline errors with `Unexpected response body`. Has anyone else noticed this?
Hi @Chad Greenburg and welcome to the community!
I've never come across this issue while using stages with a Linux Docker runner; I would like to ask for some additional info, so we can better help you:
Kind regards,
Theodora
After reading your second point, I found that the indentation was incorrect. I didn't double indent the everything under "- stage:". Thanks for your help, this issue is fixed.
Without that indentation this is what I was receiving. The validate pipeline page said the yml was fine so I didn't even think about indentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's good to hear Chad, thank you for the update.
I will look into the issue with the validator and bring it up to the appropriate team.
Please feel free to reach out if you ever need anything else!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.