Skip to content

vnugopal/cache-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Build Cache Example

To use build cache in Screwdriver v4, you can specify a top-level setting in your screwdriver.yaml called cache that contains file paths from your build that you would like to cache. You can limit access using the pipeline, event, or job scope.

Example

cache:
   event:
       - $SD_SOURCE_DIR/node_modules
   pipeline:
       - ~/.gradle
   job:
       test-job: [/tmp/test]

In the above example, we cache the .gradle folder so that subsequent builds in the pipeline can save time on gradle install.

Releases

No releases published

Packages

No packages published