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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

All pipeline builds fail with unexpected EOF, what can I do to investigate further?


Today I was called by a colleague to investigate quite the problem. Since today all our builds are failing with an unexpected EOF error even though we haven't changed anything to the bitbucket-pipelines.yml. Looking into the YAML file I saw that it called a .sh script. So I checked wether or not that file was changed but to no avail. 

We have not made any changes to the way we want to use the pipelines. Yet, suddenly, all our builds are failing with the unexpected EOF error.

Googling around didn't help me fix this problem. Now I'm stuck with this.

Has anything changed in the background that I wasn't aware of by bitbucket?

2 answers

1 accepted

0 votes
Answer accepted


In my case it was because my YAML file requested a docker image provided by a third party. This image is not available right now so it throws an error. Makes a little sense that it receives an unexpected End Of File if no file is found in the first place. Changed the docker image reference and it worked perfectly.

I faced this error while running pipeline for branch A

I retried , again faced error

I tried running from branch B, which was created from A, no error

I run pipeline for branch A, works

I don't know the cause

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you