Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,337
Community Members
 
Community Events
184
Community Groups

Custom Bitbucket Runner - Error using stages in bitbucket-pipeline.yml

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?

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 17, 2023

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:

  1. Where exactly does this error show? Is it in a build's build log? Or somewhere else?
  2. Can you post here the content of your bitbucket-pipelines.yml file? You can sanitize any private/sensitive info prior to sharing and even remove the commands from each step's script, I would just like to see the structure and indentation in the bitbucket-pipelines.yml file.
  3. What version of the Linux Docker Runner are you using?

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.

Screenshot 2023-04-14 at 2.00.01 PM.png

Like Theodora Boudale likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 18, 2023

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

Like Chad Greenburg likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events