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

bitbucket runner wrong env var BITBUCKET_CLONE_DIR


when i use the newest version of bitbucket runner 1.276 our pipeline is failing as it could not find the the directory which is set in the env var BITBUCKET_CLONE_DIR.


The step for setting up the "build setup" gives me the hint that it clones the repo to the path 2022-01-14-125228_409x22_scrot.png where i could find the sources. But that doesn't look right to me cause i think the source location should also be found in the env var right ?

2 answers

0 votes
Caroline R Atlassian Team Jan 20, 2022

Hi, @Dominik Arnoldi

Indeed, we had a bug with the environment variable BITBUCKET_CLONE_DIR, as you can see here: 

But our dev team has implemented a fix for this issue yesterday. Could you please update your runner to the latest version (v1.280)? 

Kind regards, 

Hi @Caroline R ,

thank you a lot. Tested the new version v1.280 of the runner and works pretty fine. Thx for the fast support.

Kind regards


0 votes
Norbert C Atlassian Team Jan 17, 2022

Hi Dominik,

Thank you for contacting Atlassian Community. My name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you!

I'd like to inform you that our engineering team has already updated the runners version and now we have the 277 version. Can I ask you to update your runners to the latest version and let us know if you still have this issue?

We're looking forward to hear from you.

Best Regards,
Atlassian Bitbucket Cloud Support

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

236 views 2 5
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