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,298,482
Community Members
 
Community Events
165
Community Groups

Bitbucket Runner not updating the build script

I running some server on my private network so i installing the runner for each server that required code from the repository. I need git pulling on every push code to the repository. i saw the limit  that  

  • Can’t access the local files on the runner host from a build script: In order to provide isolation and reproducibility, a runner doesn’t provide access directly to the host file system, we recommend using SCP / Rsync, if necessary.

how should i do to fix that?

1 answer

0 votes
Mark C Atlassian Team Sep 07, 2021

Hi @Revan Hernandy

Welcome to the community.

I'm afraid that's one of the limitations of Pipelines Runners at the moment.
We do have an existing feature request for it that can be located through this link. - https://jira.atlassian.com/browse/BCLOUD-21252
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

The workaround suggested for this is to use either SCP or Rsync commands on your Pipelines YAML script.
You can also consider using the available Pipes below:

Do let me know if you have further questions.

Regards,
Mark C

Hi Mark,

 

I'm exec the runner container then goes to the working directory that I run to. Then I tried to create a directory inside and it works (file bot remote and local is created).

 

I think it doesn't make sense if I have more than 10 runners running then have to adjust the pipeline script to 10 credentials.

Mark C Atlassian Team Sep 09, 2021

Hi @Revan Hernandy

In this case, I believe you can try to save those credentials as environment variables on Pipelines.

This way, you can manage multiple credentials on Pipelines.

Regards,
Mark C

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
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