Skip to content

Commit

Permalink
Test with max cache size (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
kronos30 authored Sep 27, 2024
1 parent 9e0d5da commit 119f369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ pipeline {
}
bundle_image.inside("-v $HOME/tailor/ccache:/ccache -e CCACHE_DIR=/ccache") {
// Invoke the Jenkins Job Cacher Plugin via the cache method.
cache(caches: [
// Set the max cache size to 4GB, as S3 only allows a 5GB max upload at once
cache(maxCacheSize: 4000, caches: [
arbitraryFileCache(path: '${HOME}/tailor/ccache', cacheName: recipe_label)
]) {
unstash(name: srcStash(params.release_label))
Expand Down

0 comments on commit 119f369

Please sign in to comment.