Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify the directory for the cache of a Linux Shell Runner?

Deya Sanchez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-linux-shell/

Talks about setting up a Linux Shell Runner, it also advises that cache is not cleared and that:

"Be aware that we don’t restrict where your cache folder is located, so you can store the cache in any directory of the device.."

 

This is all fine, but how do I tell the runner what directory I want it to use as the cache location?

 

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2025

Hi Deya,

Do you mean the working directory? If so - you can specify this as part of the script/command that starts the runner:

./start.sh <other arguments> --workingDirectory /your/desired/path

Please let me know if my understanding is incorrect.

Cheers!

- Ben (Bitbucket Cloud Support)

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events