Restore cache from another job


Hi everyone,

I am working on this repo :
I have one job “build” dedicated to the build, and two others for testing “test-tree” and “test-content” (requires “build”).
I want to use the cache mechanism to avoid reinstalling the libraries from “build” whenever I am doing “test-tree” or “test-content”.

I tried the following config, cache seem to save for “build” but cannot restore it for “test-tree” or “test-content”
Error computing cache key: template: cacheKey:1:33: executing "cacheKey" at <checksum "requiremen...>: error calling checksum: open /root/project/requirements.txt: no such file or directory



The directory doesn’t exist because you are missing the checkout step in the other jobs.


It was indeed the problem,

Thank you,

1 Like
closed #4

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.