Skip to content

screwdriver-cd-test/cache-example

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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.

About

Examples for build cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published