How can I totally disable cacheing on my pipeline?

Michael Miller
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!
March 11, 2018

The cache upload step takes quite a while in my pipeline, and I do not need to preserve any data between builds (The docker image we use is very small).

 

How can I disable this completely?

1 answer

1 accepted

1 vote
Answer accepted
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi Michael,

If you're talking about the implicit docker layer caching, that has been changed to be opt in.

If you want to disable caching completely, don't specify any caches in your step.

More information on caching in Pipelines can be found here.

Hope this helps!

Michael Miller
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!
March 27, 2018

Thanks a lot Davina. That answered this question.

 

The recent change to making Docker caching opt-in solved this problem for me. My pipeline does not require this caching since we use such a small image.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events