Questions tagged [pipeline-cache]

4 questions
5
votes
2 answers

How do I make Azure DevOps's Pipeline Cache store its result even if a step fail (like tests)?

Background: Pipeline caching allows one to store a folder and re-use it on the next build, given that some keys, branches and whatnot matches. Useful for node_modules, nuget packages and Git LFS, but also for builds I can't find anything in the…
Macke
  • 24,812
  • 7
  • 82
  • 118
2
votes
0 answers

How to configure caching for custom base image for Bitbucket Pipelines

I've a Bitbucket Pipeline that is using an custom docker image as a base. Pulling it from the ECR. Also, I'm using this image to build dockerized Go apps in the first step with make commands. I want to cache Go modules that are being downloaded in…
Oguzhan Aygun
  • 1,314
  • 1
  • 10
  • 24
0
votes
1 answer

How to use this cache for python requirements caching ? Will this cachetask works if we use Hosted Agent for build

How to use this cache for python requirements caching ? Will this cache task works if we use Hosted Agent for build
-1
votes
1 answer

Bitbucket pipelines: How to find the directories/paths to cache apt-get installed packages?

I need help caching packages in my bitbucket pipeline that were installed via apt-get. For non-apt-get installed packages you can find the path where packages are installed online. However, I'm not sure what directorie(s) to cache for apt-get…