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,464,125
Community Members
 
Community Events
176
Community Groups

Keep cache after run of self-hosted Windows Runner

We run a self hosted CI machine using the windows runner. After a run, the cache folder seems to be deleted every time. Especially when a pipeline fails, it would be great to keep this cache for investigation purposes. Is there an option to disable the purge of the cache in case the pipeline does not complete successfully?

Cheers,

Marcel

2 answers

1 accepted

0 votes
Answer accepted

Hi Marcel and welcome to the community.

Are you referring to the cache folder that is located in the same directory as the build folder, where the repo is cloned when a step runs? The runner always tries to clean these folders once a build finishes.

Where are you saving the cache? Is it in a directory inside the clone directory? With Windows Runners, we don’t restrict where your cache folder is located, so you can store the cache in any directory of the device outside of the runner directory, and this way the cache will not get cleared.

Kind regards,
Theodora

A simple solution indeed, thank you.

Like Theodora Boudale likes this

A simple solution indeed, thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events