Skip to contents

Saves a pipeline cache to a zip file into the pipeline_caches_folder.

Usage

stash_cache(pipeline_caches_folder, cache_folder, file_prefix, dependency)

Arguments

pipeline_caches_folder

The folder into which the pipeline cache will be saved as a .zip file.

cache_folder

The cache folder that is to be zipped and saved. This path is interpreted relative to the working directory.

file_prefix

The prefix for the output file name.

dependency

The last target that should be executed before saving the cache. Not used internally.

Value

A logical saying whether the saving operation was successful.

Details

Note that the dependency argument is not used internally. Rather, dependency exists to ensure that the pipeline executes the right targets before saving the cache.